Question: C++ Exercise 1 Write a program that reads two integers from the user and then ask the user which arithmetic operation they want to perform:
C++
Exercise 1 Write a program that reads two integers from the user and then ask the user which arithmetic operation they want to perform: Enterthe first number: 5 Enterthe second number : 6 Which operation do you want?: 1) Addition 2) Multiplication 3) Division 1 5 + 6 = 11 Exercise 2 Write a program that reads three integers from the user and output the maximum of the three numbers: Enterfirst number : 5 Enter second number : 8 Enterthird number 2 : The maximum is 8
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
