I’m confused how to code the Final Grades and Letter Grades? Itwould be very helpful to explain how I do this to understand itbetter. Thank you.
Use setField()s method to calculate Final Grade and Letter Gradeof the Final Grade. I have to convert String values to“Double.parseDouble(fields[3])”. Quizzes are indexes 3, 4, 5.Midterm is index 6. Final Grade is index 7. Call additional methodsto keep code neat and clean.
Final Grade = (average of 3 quiz grades converted to 100 ptscale * .30) + (midterm grade * .35) + (final * .35) rounded withMath.round()
Letter Grade use a multiway statement.
A = 90 or above
B+
PayPal Gateway not configured
PayPal Gateway not configured