Question: 3. Complete the program that mimics a calculator that can do multiplication and division The program should take as input two integers and the operation

3. Complete the program that mimics a calculator that can do multiplication and division The program should take as 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.) Some sample outputs follow: If inputs are 4,, and 3, the output is 43=12 If inputs are 4,1 , and 0 , the output message "The denominator is 0 ." int main ){ int num1; int num2; char oper; cin num 1 oper num 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
