Question: Create a Java application (with Javadoc comments) to simulate another GradeBook. A teacher has any number of students who have taken five tests. The teacher
Create a Java application (with Javadoc comments) to simulate another GradeBook. A teacher has any number of students who have taken five tests. The teacher uses the following grading scale to assign a letter grade to a student, based on the average of his or her five test scores:
| Test Score | Letter Grade |
| 90 100 | A |
| 80 89 | B |
| 70 79 | C |
| 60 69 | D |
| 0 59 | F |
Write logic to ask the teacher how many students they have. Repeat the following logic for each student in the class:
Ask for the student name. Write the following methods in the program to process each student.
inputScores this method should ask the user to enter five test scores and store them in an array. Do not accept test scores less than 25 or greater than 100.
calcAverage this method should accept an array of five test scores as the argument and return the average of the scores
determineGrade this method should accept the average test score as an argument and return a letter grade for the score based on the grade scale above.
printStudentGradeInfo this method should accept the name of the student, the average test score, and the letter grade. This method will display each students information on a single line separated by two tab widths.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
