Copyright © 2005 Suradet Jitprapaikulsarn
สงวนลิขสิทธิ์ 2548 สุรเดช จิตประไพกุลศาล

Homework 12 (Due 12 September 2005)

1. Write a data definition of a student records.  Each student record contains the following data

Hint: Use the data definiton of date in the previous exercise.

2. Write a function, findOldest, to get the student ID of the oldest student in a list of student records.

Hint:     1) Define a list of student records

            2) Wrtie a function to compare date

3. Write a function, findFirstPhone, to get the last name of the student whose has the smallest phone number from the list of student records.