Question: Write a program that implements a simple calculator of integer arithmetic operations (+, -, *, /). The input from the user would be three values:
Write a program that implements a simple calculator of integer arithmetic operations (+, -, *, /). The input from the user would be three values: an operand, an operator, and an operand. Once the three values are entered, the program performs the calculation. Use a SWITCH to implement this exercise -the selector will be the operator.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
