write the program in java to display the fitst ten terms of the following series: 1, 9, 25, 49.
Answers
Answered by
0
Answer:
mark me as brainlit and give a like, dont forget to follow
Explanation:
class series
{
public static void main()
{
int a=1,b=1;
for(int i=1;i<=10;i++,b++)
{
System.out.println(a+", ");
a+=b;
}
}
}
Answered by
1
Answer:
Here is your answer mate
Explanation:
I hope it may help to
Attachments:
Similar questions
Math,
1 month ago
Math,
3 months ago
Physics,
3 months ago
Social Sciences,
9 months ago
Science,
9 months ago