4. In the program created in previous question, add a function that computes total marks and average marks obtained by each student.