Problem

Test Average and Grade Write a program that asks the user to enter five test scor...

Test Average and Grade

Write a program that asks the user to enter five test scores. The program should display a letter grade for each score and the average test score. Write the following methods in the program:

• calcAverage —This method should accept five test scores as arguments and return the average of the scores.

• determineGrade —This method should accept a test score as an argument and return a letter grade for the score, based on the following grading scale:

Score Letter Grade

90–100 A

80–89 B

70–79 C

60–69 D

Below 60 F

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT