Question: can anyone helps me with this java program: Create a LetterGrades program with static method findLetterGrade. The method takes a numeric grade and returns the

can anyone helps me with this java program:

Create a LetterGrades program with static method findLetterGrade. The method takes a numeric grade and returns the corresponding letter grade.

public static String findLetterGrade(double grade)

Here are the corresponding letter grades: 93-100 A 90-92 A-

87-89 B+ 83-86 B 80-82 B-

77-79 C+ 70-76 C

67-69 D+ 63-66 D 60-62 D-

0-59 F

In main you must prompt for a grade (0-100), call the findLetterGrade method and then display the letter grade returned by the method. Use a sentinel-controlled while loop that will repeat until the user enters -1.

ALL input and output must be done in main. Use the command prompt window (terminal) for input and output.

Sample program run:

Enter a grade (0-100) or -1 to quit: 88.5 The letter grade is for 88.50 is B+

Enter a grade (0-100) or -1 to quit: 92.9 The letter grade is for 92.90 is A-

Enter a grade (0-100) or -1 to quit: 74 The letter grade is for 74.00 is C

Enter a grade (0-100) or -1 to quit: -1

Programmed by Your Full Name

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!