My professor gave me a program using "extend" my first program getting the grade
of a student, works properly. But this one, When I compile it, there;'s no error but when i execute it, after the...