import cs1.Keyboard;

public class StudentGrades
{
//**********************************************************
// Reads the Input from the User and Prints Data
//**********************************************************
public static void main(String[] args)
{
String familyName;
String firstName;
String firstName2;
String subject1;
int grade1;
String finalGrade1;
String subject2;
int grade2;
String finalGrade2;
String subject3;
int grade3;
String finalGrade3;


System.out.println("Student Grades program");
System.out.println("****************************");

System.out.print("Enter Student family name: ");
familyName = Keyboard.readString();

System.out.print("Enter Student first name: ");
firstName = Keyboard.readString();

System.out.print("Enter Subject: ");
subject1 = Keyboard.readString();
System.out.print("Enter Mark (0-100): ");
grade1 = Keyboard.readInt();

System.out.print("Enter Subject: ");
subject2 = Keyboard.readString();
System.out.print("Enter Mark (0-100): ");
grade2 = Keyboard.readInt();

System.out.print("Enter Subject: ");
subject3 = Keyboard.readString();
System.out.print("Enter Mark (0-100): ");
grade3 = Keyboard.readInt();

System.out.print("Results for ");

firstName2 = firstName.substring(0,1);
System.out.println(firstName2 + "." +familyName );

if(grade1 <=49)
finalGrade1="fail";

else if (50 <= grade1 && grade1 <= 59)
finalGrade1="Pass";

else if (60 <= grade1 && grade1 <=69)
finalGrade1="Credit";

else if(70 <= grade1 && grade1<=79)
finalGrade1="Distinction";

else if(80 <= grade1 && grade1<=100)
finalGrade1= "High Distinction";


System.out.print(subject1 + " " + finalGrade1);
}
}
Ok why isnt it showing the finalGrade1, what am i missing here
Anyadvice would be helpful
PS First Post yay