c++ looping and decision making Write a program that can be used by a student to help with basic math problems. The program should display a menu which allows the student to choose one of the following math problems:
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
c++ looping and decision making
Write a program that can be used by a student to help with basic math problems. The program should display a menu which allows the student to choose one of the following math problems:
addition
subtraction
multiplication
division – DO NOT allow division by 0.
the final selection should let the user quit the program
1. The math problem selected should allow the student to enter the appropriate inputs and after they press the [Enter] key, the program should display the correct answer.
2. After the user has finished the math problem, the program should display the menu again. This process is repeated until the user chooses to quit the program.
Input Validation: If the user selects an item not on the menu, display an error message and display the menu again.

Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 4 images









