Question: C++ language Problem 3 Program a Calculator Write a program that can be used as a calculator. Prompt the user to enter which operation he/she

C++ language
Problem 3 Program a Calculator Write a program that can be used as a calculator. Prompt the user to enter which operation he/she would like to perform, that is addition, subtraction, multiplication, or division. Use a switch statements to properly handle the operator entered by the user. Then prompt the user to enter two operands. An example of the program may look like this: Calculator What operation would you like to perform? Addition (+), Subtraction (), Multiplication,or Division () Enter an operator: + Enter two operands: 23 45 The results is: 23 + 45 = 78
Step by Step Solution
There are 3 Steps involved in it
Sure Heres a simple C program that functions as a calculator using a switch statement to handle the ... View full answer
Get step-by-step solutions from verified subject matter experts
