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 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

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!