Added else if conditional for grade C.