Question: Write a c++ program that displays a menu allowing the user to select * => multiplication, + => addition, => subtraction, / => division, %

Write a c++ program that displays a menu allowing the user to select * => multiplication, + => addition, => subtraction, / => division, % => modulus, enter two numbers numb1, numb2 and a character that represents one of the 5 arithmetic operators (+, , *, /, %). Print an error message if the character is not one of the defined operators. Check division by zero.. Write a program that displays a menu allowing the user to select * => multiplication, + => addition, => subtraction, / => division, % => modulus, enter two numbers numb1, numb2 and a character that represents one of the 5 arithmetic operators (+, , *, /, %). Print an error message if the character is not one of the defined operators. Check division by zero.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!