(*Do Not Use Any Input Method*)
Attachments:
Answers
Answered by
0
Computer Applications
Write a menu driven program to perform the following tasks by using Switch case statement:
(a) To print the series:
0, 3, 8, 15, 24, ………… to n terms. (value of 'n' is to be an input by the user)
(b) To find the sum of the series:
S = (1/2) + (3/4) + (5/6) + (7/8) + ……….. + (19/20)
Similar questions
Social Sciences,
3 hours ago
Math,
3 hours ago
Accountancy,
6 hours ago
Chemistry,
6 hours ago
English,
8 months ago
Hindi,
8 months ago