Write a menu driven program (using switch-case) which accepts a number as user input: A) Prints sum of digits of the given number B) Prints reverse of the given number.
```cpp #include
___ _______ _________ _______ ____ ____.
__________ ___ _______ __________ ______.
__________ ___ ___ _____ ______.
_________ ______ _______ _____ _______ ____ __________ ___.
______ ___ ___ _________ _________.
____ _____ _____ _______ _____ ______ ______ ___ _______ __________ ________ _________.
__________ ___ ______ ____ ________ ____ ________ ______ _________ _____.
__________ _____ __________ ________ ____ _______ _______ ___ ________ _______ ________ _________.
_______ _______ _______ _________ ________ ________ ___ _____ ______.
_______ _____ ______ __________ __________ _________ _____ __________ __________ ___ _____.
____ __________ _____ ____.
Get Full Answer on WhatsApp
Write a method to compute the factorial of a number.
For Each C++ and Java program, students are required to design a class construct.
Read a two-dimension array. Find the sum of two 2D Array.
Write a java program to compute maximum of three numbers: A) using ternary operator. B) Using if-else statement.
Read n numbers. Count the number of negative numbers, positive numbers and zeros in the list.
Write a program that will prompt the user for a list of 5 prices. Compute the average of the prices and find out all the prices that are higher than the calculated average.
A person deposits Rs. 1000 in a fixed account yielding 5% interest. Complete the amount in the account at the end of each year for n years.