Question: Write the program in C++ language Exercise #6: Simple Calculator Write a program prompts the user to enter two integer values and the symbol of
Exercise #6: Simple Calculator Write a program prompts the user to enter two integer values and the symbol of an arithmetical operator (+,-, *, /, %). The program then uses the switch statement to print the result of arithmetical operation, otherwise the prograisls the message "Invalid symbolr 09 Sample input /output: ter two integers:5 9 ter the synbo1 of an arithnetical operator+., /. >: 914 nter two integers:59 nter the synbol of an arithnetical operator *. I.x: 9Invalid synbo1t
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
