Question: Write a program that prompts the user for two students' overall scores and that computes their letter grades based on those scores. Assume that scores

Write a program that prompts the user for two students' overall scores and that computes their letter grades based on those scores. Assume that scores are in the range of 0 to 100 and that grades are based on the following scale:

Score Grade

-------------------------

< 60 0.0

60-62 0.7

63 0.8

64 0.9

65 1.0

...

93 3.8

94 3.9

>= 95 4.0

You should also report whether or not the students passed the course (i.e., whether or not the user got a grade above 0.0) and whether the student may advance to the next course (i.e., whether or not the user got a grade of 2.0 or higher). If the student's grade percent has a decimal, round it to the nearest whole number.

Here is a sample log of execution of the program (user input underlined):

This program converts two scores into grades.

Student 1:

What score did you get? 83.7

You received a grade of 2.8

You passed the course

You may advance to the next course

Student 2:

What score did you get? 59.1

You received a grade of 0.0

You failed the course

You must take the course again

Use static methods to capture the structure and redundancy of the program. Your program should have at least two static methods other than main.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!