Using the switch statement, write a menu driven program to : [15 MARKS] [2012]
(a) Generate and display the first 10 terms of the Fibonacci series 0, 1, 1, 2, 3, 5…….
The first two Fibonacci numbers are 0 and 1, and each subsequent number is the sum of the previous two.
(b) Find the sum of the digits of an integer that is input.
Sample Input : 15390
Sample Output : Sum of digits = 18
For an incorrect choice, an appropriate error message should be displayed.