Computer Science, asked by syed2676, 9 months ago

Make the following program in Q basic to generate the series 2 9 28 65 - - - - - - upto 10 terms

Answers

Answered by Anonymous
5

\huge{\underline{\mathbb{\red{Answer}}}}

In Java:-

class series{

public static void main(String[]args){

int q=1;

System.out.print(q*q*q+1);

for (q=2;q<=10;q++)

System.out.print(","+((q*q*q)+1));

}

\huge{\boxed{\mathbb\pink{\fcolorbox{red}{purple}{Thanks}}}}

Similar questions