Question
This is a Java program challenge. Question 8 is displayed because you may need to solve question 8 inorder to correctly answer question 9. 8.
This is a Java program challenge. Question 8 is displayed because you may need to solve question 8 inorder to correctly answer question 9.
8. Grade Book
A teacher has five students who have taken four tests. The teacher uses the following grad- ing scale to assign a letter grade to a student, based on the average of his or her four test scores.
Test Score
90100 8089 7079 6069
059
Letter Grade
A B C D F
Write a class that uses a String array (or an ArrayList object) to hold the five students names, an array of five characters to hold the five students letter grades, and five arrays of four doubles each to hold each students set of test scores. The class should have methods that return a specific students name, average test score, and a letter grade based on the average.
Demonstrate the class in a program that allows the user to enter each students name and his or her four test scores. It should then display each students average test score and letter grade.
Input validation: Do not accept test scores less than zero or greater than 100.
9. Grade Book Modification
Modify the grade book application in Programming Challenge 7 so it drops each students lowest score when determining the test score averages and letter grades.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started