Question: Please use the c++ code such as if else to help me complete this program. Thank you very much! ask the user to enter five
Please use the c++ code such as if else to help me complete this program. Thank you very much!
- ask the user to enter five (5) test scores
- if any of the scores are less than zero (<0) or greater than 100 (>100), print an error message and exit the program
- calculate the average of the five test scores
- report the data entered by the user
- report the average (rounded to two decimal places)
- use cout << fixed << setprecision (2)
- report the letter grade that should be assigned using the following scale
>= 89.5 A
79.5 89.49 B
69.5 79.49 C
59.5 69.49 D
<= 59.49 F
Also report:
- min
- max
- median
- mode
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
