Question: Write the program that prompts the user to enter the arithmetical operation (+,-)) and two integer numbers. Do not worry about error checking of the

 Write the program that prompts the user to enter the arithmetical

Write the program that prompts the user to enter the arithmetical operation (+,-)) and two integer numbers. Do not worry about error checking of the input right now. Print the result of the chosen operation with entered numbers. Here are sample runs: Enter the operation: Enter two integer numbers: 123 567678 123+567678=567801 Enter the operation: Enter two integer numbers: 345 231 345*231=79695 Enter the operation: Enter two integer numbers: 675 1000 675-1000=-325 Enter the operation: Enter two integer numbers: 3457 3 3457/3=1152

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