Write a menu driven program in java to perform the following (using switch case): to print the value of S where
S = 1/1! + (1 + 2)/ (1! + 2! ) + (1 + 2 + 3) / (1! + 2! + 3! ) + …….… up to n terms.
(ii) to print the value of S where
S = 1n + 2(n-1) + ...…………………………….……….. + (n-1)2 + n1
Answers
Answered by
0
Answer:
ii 125889 i 382
Explanation:
ma smart hu isleya
Similar questions