Question: Include exception-handling techniques with the traditional averaging program. Allow the user to input multiple sets of scores. Ensure that only numeric values are entered and
Include exception-handling techniques with the traditional averaging program. Allow the user to input multiple sets of scores. Ensure that only numeric values are entered and that values fall between 0 and 100.
Calculate the average for each set of values. Test the result to determine whether an A, B, C, D, or F should be recorded. The scoring rubric is as follows: A—90–100; B—80–89; C—70–79; D—60–69; F < 60.
Your solution should include exception-handling techniques with a minimum of three appropriate catch clauses.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
