Question: USING JAVA! Please make sure the code Includes getting the name of five students and two grades per student from the user. Instructions below... You
USING JAVA! Please make sure the code Includes getting the name of five students and two grades per student from the user. Instructions below...
You are going to be creating a Student Class, copying the Class provided in the Google Link below. You are going to do the following:
In the Student Class You will:
- Add a char grade variable
- Add a setGrade() Method based on the Average 80(A),70(B),60(C),50(D),else (F)
- Add a getGrade Method
- Add a double getAverage() Method
From your Main Method. GradeBook Class You will
- Using Scanner in a Loop create an Array of Five Students.
- Load in their Name, set their Marks. (1 Loop)
- Set their Grade (Include in loop after creating object)
- Create another Loop to Print Their Average. (2nd Loop)
- Create a double highGrade(Student[] student)
- Create a void createGradeBook(Student[] student )
- Print the Student Name
- Print the Student's Average
- Print the Student's Grade
- Print the Difference from the Class Average
- At the TOP Before the Header Print the Class Average and Highest Mark
- NOTE: Ensure you pad your names with spaces.
NOTE: AVG is Invalid. Just a Sample Output.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
