CS245 - CS II FALL 1996 PROGRAM I

DUE: beginning of lab - Sept. 19, 1996

Wing-and-a-Prayer Airlines

Wing-and-a-Prayer Airlines maintains five scheduled flights per day, identified by WPA001 through WPA005. For each of these flights, they keep an alphabetized list of passengers. The database for the entire airline can be viewed as five separate lists. Write a C++ program that creates and maintains this database. Your program should be able to handle INSERT, DELETE, UPDATE (including changing the phone #, date of flight and the flight #), LOOKUP, and DISPLAY (including displaying an individual flight as well as all flights) commands. Each passenger entry should include First Name, Last Name, Phone #, Date of Flight and Flight #.

Your program will be graded according to the following criteria:

20% - executes without errors

20% - output is correct

15% - output is designed appropriately

20% - design of the program logic

15% - follow programming standards (review the programming style sheet)

10% - documentation (good comments)