Write a program in small basic to print the series 1,8,27,64,....up to 10 terms.
Answers
Answered by
0
Answer:
class program
{
void main() {
int c=0;
for (int i=1;i>0;i++)
{
System.out.println(i*i) ;
if(c==10)
break;
}
}
Explanation:
Similar questions