Question: Write a program in Java. Test Average and Grade Write a program that asks the user to enter five test scores. The program should display
Write a program in Java.
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:
calcAverageThis method should accept five test scores as arguments and
return the average of the scores.
determineGradeThis method should accept a test score as an argument and
return a letter grade for the score, based on the following grading scale:
Enter the first test score:
Enter the second test score:
Enter the third test score:
Enter the fourth test score:
Enter the fifth test score:
Here are the grades and the average:
Test : F
Test : D
Test : C
Test : B
Test : A
Average score:
Average Letter Grade: C
Process finished with exit code
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
