WAP using scanner class and switch case to perform following task
Enter 1 to calculate and print sum of following series s=(x+1.0) + (x2+1.5) + (x3+2.0) + (x4+2.5)…..n terms
( where x=6)
Enter 2 to print following series
1 212 32123 4321234
For other entries display invalid
Published By : Sunita Chhetry