Question: Implement the main method below in a class called Grade. The program should read integer points ( use the Scanner class ) and print the
Implement the main method below in a class called Grade. The program should read integer points use the Scanner class and print the grade ABCD or F based on the final score associated with a student. Grades are classified as follows:
Number of Points
Final Grade
Greater than
A
Between exclusive and inclusive
B
Between exclusive and inclusive
C
Between exclusive and inclusive
D
Less than or equal to
F
RestrictionsAssumptions
Use the message Enter final score to prompt the user to enter the number of points.
Use the Scanner class to read the number of points, ie Scanner sc new ScannerSystemin;
Use System.out.println to print the final grade.
Assume that the user correctly enters an integer score.
Start with this code:
import java.util.Scanner;
public class Grade
public static void mainString args
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
