Write program to generate the following
series and characters
1,4,9, 16, 25 ………… up to 10 terms
Attachments:
Answers
Answered by
1
Explanation:
The following program is in Java.
Using for loop
class Series
{
void input ( )
{
int i, s = 0;
for(i = 1; i < = 10; i++)
{
s = i * i;
}
System.out.print(s + " ");
}
}
I HOPE THIS ANSWER WILL HELP YOU AND PLEASE MARK THIS ANSWER THE BRAINLIEST ONE...
Similar questions
English,
5 months ago
Psychology,
5 months ago
English,
10 months ago
English,
10 months ago
English,
1 year ago
Social Sciences,
1 year ago
Physics,
1 year ago