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
Get step-by-step solutions from verified subject matter experts
