Math, asked by ujjwal7341, 10 months ago

Write program to generate the for following
series and characters
is
1,4,9, 16, 25. . . . . ..
up to to terms.​

Attachments:

Answers

Answered by Pragya3918red
1

Step-by-step explanation:

The program is in Java.

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