Computer Science, asked by sujal5314k95, 8 months ago

Using the switch statement, write a menu driven program to
1. Generate and display the first 10 terms of the Fibonacci series 0,1,1,2,3,5....... The first two Fibonacci numbers are
O and 1, and each subsequent number is the sum of the previous two.
2. 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.​

Answers

Answered by mjaylen8888
1

Answer:

answer is 1

Explanation:

Similar questions