Question
In Java(JGRASP): Write a program that asks the user to enter five test scores. The program should display a letter grade for each score and
In Java(JGRASP):
Write a program that asks the user to enter five test scores. The program should display a letter grade for each score and the average test score. Write the following methods in the program:
? calcAverage This method should accept five test scores as arguments and return the average of the scores.
? determineGrade This method should accept a test score as an argument and return a letter grade for the score, based on the following grading scale:
___Score __________________Letter Grade______________
90-100 A
80-89 B
70-79 C
60-69 D
Below 60 F
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