Perform multiple calculations without having restart program


Problem

Use an iteration (e.g. while loop) to allow the user to perform multiple calculations without having to restart the program. The program should continue to display the menu of options until the user selects "Exit". The program should also validate user input when they select the operation from the menu, yet you may assume the user enters the numeric input after they select the desired operation. If the user enters an invalid selection, the program should display an error message and prompt the user to enter a valid value. The program should also have to calculate the result as Infinity if the denominator of the division is zero. (e.g., 5/0 = infinity) Once the program is complete, test it to ensure that it performs all the calculations correctly and that it handles invalid input and divide by zero errors properly. Submit the program along with the screenshots of the program running and performing the calculations correctly.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Perform multiple calculations without having restart program
Reference No:- TGS03311550

Expected delivery within 24 Hours