Make the following program in Q basic to generate the series 2 9 28 65 - - - - - - upto 10 terms
Answers
Answered by
5
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));
}
Similar questions