Question: 8. Write a program in C++ to display the following menu: a) Addtition b) Subtraction c) Multiplication d) Division e) Exit Ask the user
8. Write a program in C++ to display the following menu: a) Addtition b) Subtraction c) Multiplication d) Division e) Exit Ask the user to enter two numbers and make sure that 0 in the denominator is not allowed Show the options for the user to select the required operation. Use if statement or switch to perform the user selected operation on the numbers. Show the final answer on the screen.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
