Using the function statement, write a menu driven program to:

(i) Generate and display the first 10 terms of the Fibonacci

series 0,1,1,2,3,5…. output must be same and follows

$$2

$$$3

$$$$$5

and So on…….

The first two Fibonacci numbers are 0 and 1, and each

subsequent number is the sum of the previous two.

For an incorrect choice, an appropriate error message should be displayed for wrong type of input….

(ii)Find the sum of the digits of an integer that is input.

Sample Input: 15390

Sample Output: Sum of the digits=18

For an incorrect choice, an appropriate error message should be displayed