Question: IN JAVA (ECLIPSE) Design a TestScores class that has fields to hold three test scores. (If you have already written the TestScores class for programming

IN JAVA (ECLIPSE)

Design a TestScores class that has fields to hold three test scores. (If you have already written the TestScores class for programming challenge 8 of chapter 3, you can modify it.) the class constructor should accept three test scores as arguments and assign these arguments to the test score fields. The class should also have accessor methods for the test score fields, a method that returns the average of the test scores, and a method that returns the letter grade the is assigned for the test score average. Use the grading scheme in the following table:

Test Score Average: Letter Grade:
90-100 A
80-89 B
70-79 C
60-69 D
below 60 F

*Extra Needs: *

Use JOptionPane for I/O. Use constants where appropriate.

You should have a TestScores.java and a testing class that houses your main. *

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!