The program will read data from a file that describes a schedule for classes. The data will consist of: A department name A list of courses, each of which contains: A course number and name The number of units for the course A description of the course. Data for sections, which consists of: A five-digit registration ID number The days of the week on which the section meets The starting and ending time for the section The room where the class meets The name of the instructor Your program will take this data and build the following data structures: An array of arrays. The primary array has 24 entries, one for each hour of the day. For example, $array will contain an array listing all the registration ID numbers that begin between 9:00 a.m. and 9:59 a.m.; $array will contain an array listing all the registration ID numbers that begin between 5:00 p.m. and 5:59 p.m. A hash of arrays. The key to the hash is an instructor name; the value is an array listing all the registration numbers that this instructor teaches. A hash of hashes. The key of the primary hash is the day of the week; the value is another hash whose key is the course number and whose value is the course name Your program will then produce the following output: A list of registration IDs, in order of starting hour. A list of instructors, showing which registration IDs they teach A list of days of the week, showing which course numbers (and their names) are taught on that day.
Deadline 12/22/03 The hash of hashes has to work properly! Check the attachment for details.
Windows XP or Linux