write a menu driven program to perform the following
( use switch case , in java , scanner class)
a) to print and find the sum of following series
1-3+5-7...…n terms
b) to print and find the sum of following series
1 +1*2+1*2*3+1*2*3*4+........n terms
(user is going to enter the no. of terms)
Share
0 Replies