HI! i need to create a program that lets user input as many numeric grades as they like.... in return they get the letter grade for each and the their grade average, minimum, and maximum.
this is all i have so far......
import TerminalIO.KeyboardReader;
public class LetterGradeWLT {
public static void main (String [] args){
KeyboardReader reader = new KeyboardReader();
public boolean getLetterGrade(int grade){
grade = reader.readInt("Enter your numeric grade: ");
int grade;
if (grade >= 96)
System.out.println(" Your letter grade is A+.");
if ( 92 <= grade <= 95)
System.out.println(" Your letter grade is A.");
if ( 90 <= grade <= 91)
System.out.println(" Your letter grade is A-.");
if ( 86 <= grade <= 89)
System.out.println(" Your letter grade is B+.");
if ( 82 <= grade <= 85)
System.out.println(" Your letter grade is B.");
if ( 80 <= grade <= 81)
System.out.println(" Your letter grade is B-.");
if ( 76 <= grade <= 79)
System.out.println(" Your letter grade is C+.");
if ( 72 <= grade <= 75)
System.out.println(" Your letter grade is C.");
if ( 70 <= grade <= 71)
System.out.println(" Your letter grade is C-.");
if ( 66 <= grade <= 69)
System.out.println(" Your letter grade is D+.");
if ( 62 <= grade <= 65)
System.out.println(" Your letter grade is D.");
if ( 60 <= grade <= 61)
System.out.println(" Your letter grade is D-.");
if ( -1 < grade <= 59)
System.out.println(" Your letter grade is F.");
}
}