Write a menu driven program to calculate the sum of the series by using Switch case.
1) 11/1!+22/2!+33/3!+…..nn/n!
2) (1+2)2+(1+2+3)3+(1+2+3+4)4………n
Answers
Answered by
1
Answer:
Using switch statement, write a menu driven program for the following : (i) To find and display the sum of the series given below : S = x1 -x2 + x2 – x4 + x5 – x20 (where x = 2) (ii) To display the following series : 1 11 111 1111 11111 For an incorrect option,Read more on Sarthaks.com - https://www.sarthaks.com/837542/using-switch-statement-write-a-menu-driven-program-for-the-following
Similar questions