(a) Difference between for if-else and switch statements along with e…
Previous year question for Computer Programming.
Question
(a) Difference between for if-else and switch statements along with examples. (10)
(b) Write a program to print the following series :
$1 + 11 + 111 + 1111 + .......... + \text{N}$ (10)
- Year: 2018
- Subject: Computer Programming