Calculating the average and letter grade for ten students.