Display the first ten terms of the series 1,4,9....
Answers
Answered by
5
Answer is 1,4,9,16,25,36,49,64,81,100,121,144,169,196,225
mvishnu2006:
mark as brain list
Answered by
20
CODE :
class series
{
public static void main(String args[])
{
for(int i=1;i<=10;i++)
System.out.println(i*i);
}
}
}
EXPLANATION:
I have given a for-loop starting from 1 till 10 .
I have printed the square of each.
Hope it helps !
__________________________________________________________________
Similar questions