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» 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 |
|