Write a C++ program that mimics a calculator. The program should take as an input, two integers and the operation (+,-,*, /) 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.)
|