Details of this Paper

Airplane Seating Chart




Airplane Seating Chart. An airplane has 15 rows (numbered 1 through 15), with six seats (labeled A, B, C, D, E, and F) in each row. Wire a multiform Program that keeps track of the seats that have been reserved and the type of meal requested by each passenger. The seating chart should be displayed in a list box with a line for each row. See Fig. 9.50(a). When the ticket agent clicks on the desired row in the list box, the row number and the status of the seats in the row should be displayed in seven read-only text boxes at the bottom of the form. When the agent clicks on one of the text boxes, a second form containing four option buttons labeled Unoccupied, Regular, Low Calorie, and Vegetarian should appear. See Fig. 9.50(a). Clicking on a radio button should close the second form and update both the text box and the row for that sea in the list box. Unoccupied seats are denoted with a period, and occupied seats are denoted with the first letter of their meal type. At any time, the agent should be able to request the number of seats filled, the number of window seats vacant, and the numbers of each type of meal ordered.


Paper#68267 | Written in 18-Jul-2015

Price : $37