Question: Dev C++ Write a program that mimics a calculator. the program should take as input two integers and an arithmetic operation (+, -, * ot/)
Dev C++ Write a program that mimics a calculator. the program should take as input two integers and an arithmetic operation (+, -, * ot/) to be performed. It should then output the numbers, the operator, and the result. (for division, if the denominator is zero, output an appropriate message. Sample program output: Enter the first integer 25 Enter the second integer: 30 Enter operator: +(addition), (subtraction), * (multiplication), /(division): + 25 + 30 = 55
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
