Question: In java: The newGrades method will take two array parameters, a double array of grades and a character array indicating time and will return a
In java:

The newGrades method will take two array parameters, a double array of grades and a character array indicating time and will return a double array of adjusted grades based on whether the student indicated by the array index turned the assignment in early, on-time, or late. Your method should return null, for null array input. The student is indicated by the index in the array. Index 0 indicates student zero in both the grades and time arrays, index 1 indicates student 1, etc. Scores should be adjusted and returned in a new array as follows: Students who turned the assignment in early (e' in time array) should get +5 pts. Students who turned the assignment in on-time ('o' in time array) should not have grade changed. Students who turned the assignment in late ( in time array) should get -10 pts
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
