Using the switch statement, write a menu driven program to perform following operations: [10]
(i) To calculate the sum of the following series:-
1 + 12 + 123 + 1234 + ………………………. N terms.
where N is a positive integer which must be entered through the keyboard.
Answers
Answered by
1
Answer:
123456789
Explanation:
love lok that every step 1 new number is added or you can tell that one and then 11 and then 111 add then 1111 add then 11111 etc. the ending of keyboard with 9 or if you go after keyboard it will be infinite if you like my answer please thanks me rate me and make me brainlist
Similar questions