function print_aves(student)

fprintf('%-20s %-10s\n', 'Name', 'Average')
for ii = 1:length(student)
   qsum = sum([student(ii).quiz]);
   no_quizzes = length(student(ii).quiz);
   ave = qsum / no_quizzes;
   fprintf('%-20s %.1f\n', student(ii).name, ave);
end

