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
Copyright © 2024 EHUB.TIPS team's - All rights reserved.
Answers & Comments
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