Added the if statements for the letter grade.