Write a menu driven program to perform the following. (Use switch-case statement)
(a) To print the series 0, 3, 8, 15, 24 ……. n terms (value of ‘n’ is to be an input by the user).
(b) To find the sum of the series given below:
S = 1/2+ 3/4 + 5/6 + 7/8 … 19/20
I NEED URGENT HELP SO PLS DONT POST IRRELEVANT ANSWERS
Answers
Answered by
1
(a) To print the series 0, 3, 7, 15, 24, …… n terms (value of ‘n’ is to be an input by the user).
(b) To find the sum of the series given below : S = 1/2 + 3/4 + 5/6 + 7/8 + ……… 19/20.
Similar questions