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!

  1. ask the user to enter five (5) test scores
  2. if any of the scores are less than zero (<0) or greater than 100 (>100), print an error message and exit the program
  3. calculate the average of the five test scores
  4. report the data entered by the user
  5. report the average (rounded to two decimal places)
    • use cout << fixed << setprecision (2)
  6. 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

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!