Write a program in java 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:(attached photo)

Principles of Information Systems (MindTap Course List)
12th Edition
ISBN:9781285867168
Author:Ralph Stair, George Reynolds
Publisher:Ralph Stair, George Reynolds
Chapter6: Telecommunications And Networks
Section: Chapter Questions
Problem 5SAT
icon
Related questions
Question

Write a program in java

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:(attached photo)

Score
Letter Grade
90-100
A
80-89
B
70-79
60-69
D
Below 60
F
Transcribed Image Text:Score Letter Grade 90-100 A 80-89 B 70-79 60-69 D Below 60 F
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Files and Directory
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781285867168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
Enhanced Discovering Computers 2017 (Shelly Cashm…
Enhanced Discovering Computers 2017 (Shelly Cashm…
Computer Science
ISBN:
9781305657458
Author:
Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:
Cengage Learning