write a program to print the sum of the following series:
0,3,8,15,...........................80
Answers
Answered by
0
3, 8, 15, 24, 35, 48, 63, 80
mercy2:
it is not the way to do it
Answered by
0
Answer:
class cal
{
public static void main ()
{
int s=0,i=1;
while (s!=80)
{
s=s+(i*i-1);
i++;
}
System.out.print (s);
}}
Explanation:
I hope it helps you
Similar questions