Saved Bookmarks
| 1. |
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. |
|
Answer» ong>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 |
|