Question: Write a C++ program which: 1- Asks the user to enter two integers. 2- Prompts the user to whether compute and display the sum or
Write a C++ program which:
1- Asks the user to enter two integers.
2- Prompts the user to whether compute and display the sum or the product of the two entered numbers.
3- Perform and displays addition result if user enters 's', or multiplication result if user enters 'p'; otherwise it prints error message.
4- Asks the user to enter 'e' to exit, otherwise it will go back to step 1.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
