A program that calculates and determines the grade.