Cis 170 Ilab 7 of 7 Essay

1586 Words Oct 2nd, 2014 7 Pages
HELPIDO.COM
-------------------------------------------------
Follow this link to get the tutorial

http://helpido.com/cis-170-ilab-7-of-7-bluebird-airlines-needs-a-program-to-assign-boarding-passes-on-its/
--------------------------------------------------

CIS 170 iLab 7 of 7

Step 1: Requirements - Airline Reservation System
Bluebird Airlines needs a program to assign boarding passes on its only plane which has a seating capacity of 20. They want to use an alphanumeric seat number, and they want to be able to assign a passenger to a specific seat within either first or business class. The seats in the plane are numbered as follows:
FIRST CLASS BUSINESS CLASS
1A, 1B, 2A, 2B 4A, 4B, 4C, 4D5A, 5B, 5C, 5D6A, 6B, 6C, 6D
7A,
…show more content…
The user will enter the passenger’s name, select the flight class, and the seat number and press the Add Passenger button. The program will validate the data in the fields. The passenger’s name must not be left blank; otherwise, a MessageBox will be displayed indicating the error and the user will be returned to the passenger’s name text box. If the seat is left blank, display an error message and return to the seat number. If everything is ok, assign the passenger to the seat, update the Plane Manifest, clear the name field, set the class back to First, and the seats back to available first class seats, and return the user to the passenger name field. Once the plane is full, disable the Add Passenger button. The user will then need to close the flight. Even though the plane is not full, the user may close the flight by pressing the Close Flight button. Disable the Add Passenger button and change the text in the Close Flight button to Start a New Flight. In the listbox control in addition to displaying the Plane Manifest, display the number of first class passengers and business class passengers, and a passenger list. The passenger list is in alphabetical order by passenger name. Only display assigned seats in the passenger list. You will need to sort the data into alphabetical order by passenger name to display the passenger list. Also write these reports to a text file. When the user clicks the Start a New Flight

Related Documents