Write a program to print the sum of the following series. 0, 3, 8, 15 …. Upto n terms.
Answers
Answered by
1
Explanation:
The java program for the above question is as follows: Explanation: public class Series // Class definition. {. public static void main(String[] args) // Main function declaration. {. int i=0,series=0,s=0; ...
Similar questions