Question: 3. (10 points) Write a C++ program to create menu driven calculator that performs basic arithmetic operations (add, subtract, multiply and divide) using switch case
3. (10 points) Write a C++ program to create menu driven calculator that performs basic arithmetic operations (add, subtract, multiply and divide) using switch case. The calculator should input two numbers and an operator from user. It should perform operation according to the operator entered and must take input in given format.
Sample output:
Please enter the numbers and operator in the form
2.1 + 3
The result is 5.1.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
