Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A teacher has 6 students who have taken 3 tests. The teacher uses the following grading scale to assign a letter grade to a student,
A teacher has 6 students who have taken 3 tests. The teacher uses the following grading scale to assign a letter grade to a student, based on the average of his or her 3 test scores. Create a class called Grades (java file called Grades.java) with the (exact) following fields and methods (these names and caps exactly): Demonstrate the class in a program/project called [YourName]-Assignment7 (replace [Your Name] with your actual name) in the same project as the Grades.java. You will need to add the class Grades to the project and add your code to the project class main method. The program should allow the user to enter each student's name and his or her 3 test scores and store them in a Grades object. The program should use the values from the Grades object to display in a table format each student's name, average test score, and letter grade (one row per student), and at the end output the class average and the top score (using the class methods)
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