Engineering Homework Help
I need help with this java programming challenge:8. Grade BookA teacher has five students who have
I need help with this java programming challenge:
8. Grade BookA teacher has five students who have
each taken four tests. The teacher uses the following gradingscale to assign a letter grade to a student, based on the average of his or her four test scores:Test Score Letter Grade90-100 A80-89 B70-79 C60-69 D0-59 FWrite 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 fourdoubles each to hold each student’s set of test scores. You may find using a single 5x4multi-dimensional array easier to manage instead of a separate array for each set of test scores. The class should have methods that return a specific student’s name , the average test score, and aletter grade based on the average. Although averages are often floating-point values , you shouldcast the average test score to an integer when comparing with the grading scale. This reduces thepossibility of error. Demonstrate the class in a program that allows the user to enter eachstudent’s name and his or her four test scores. It should then display each student’s average testscore and letter grade.Input Validation: Do not accept test scores less than zero or greater than 100.