Java Grade Program
$30-250 USD
Paid on delivery
Provide a complete program that handles the entry and display of homework scores. As part of your program, provide a RWHwScore class that contains the points earned on a particular homework and also the maximum possible points on that homework. In order to keep track of the overall average, the RWHwScore class also contains the total points earned on all homework combined and the total possible points on all homework combined. In order to determine letter grades, the RWHwScore class specifies cutoff values for the A, B, C, and D letter grades.
More specifically, the RWHwScore class should contain these constants and variables:
Array constant for the letter grade cutoffs: A = 0.9, B = 0.8, C = 0.7, D = 0.6
One dimensional array, only needs to hold the values, not the letters.
Class variables named totalEarnedPoints and totalPossiblePoints
Instance variables named earnedPoints and possiblePoints
[url removed, login to view]
Provide a main driver method. It should:
Instantiate a 4 element array of RWHwScore and store the values below in this array. In the instantiations, initialize the objects to these values:
hw1: 26.5 earned points, 30 possible points
hw2: 29 earned points, 27.5 possible points
hw3: 0 earned points, 20 possible points
hw4: 16 earned points, 20 possible points
For hw1, hw2, hw3 and hw4 call printGrade. (instance method)
Call printOverallGrade. (class method)
Within your RWHwScore class, include these requirements:
The RWHwScore class should contain a two-parameter constructor that handles initializations for the earnedPoints and possiblePoints instance variables.
Implement a printGrade method that prints a particular homework’s earned points, possible points, and letter grade. The letter grade is based on this scale: A ³ 90%, B ³ 80%, C ³ 70%, D ³ 60%, F < 60%.
Implement a class method named printOverallGrade that prints the overall earned points, overall possible points, and overall letter grade.
Use appropriate modifiers for methods. The modifiers we’ve discussed so far are private, public, and static. Use helping methods when appropriate.
SAMPLE:
On this homework, you earned 26.5 out of 30.0 possible points: B
On this homework, you earned 29.0 out of 27.5 possible points: A
On this homework, you earned 0.0 out of 20.0 possible points: F
On this homework, you earned 16.0 out of 20.0 possible points: B
On all homework, you earned 71.5 out of 97.5 possible points: C
FOLLOW SAMPLE PRECISELY FOR OUTPUT.
Project ID: #2605667
About the project
Awarded to:
26 freelancers are bidding on average $46 for this job
Hi, I am oracle certified java 6 professional with 100% score , i have over 8 years of experience in developing applications using java, I can do this task in 2-6 hours. looking forward to hear from you regards,
Hi, Ready to start your work. Eagerly awaiting for your positive reply. Please check your inbox for further details. Thanks, Shaik.
Hi, I am Java developer and teacher. Want help you with this assignment. Best regards, Viktor.
Hello, I'm a developer. I can build a system that meets your needs. I'm not a sub-contractor, so you will get accurate deadline dates and low fees from me. I work with responsibility and my work is guaranteed, provid More