Question: Create a program in C + + that performs different arithmatic operations on two integers of the user's choice after the user selects which operation

Create a program in C++ that performs different arithmatic operations on two integers of the user's choice after the user selects which operation to perform via a menu.
Prompt the user for two integers, a and b.
Collect those integers from the user.
Prompt the user to enter the sort of operation they want to perform: +,-,*,/, or %.
Then, depending on the user's input, perform the operation and display the result to the screen.

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 Programming Questions!