subject
Engineering, 26.11.2019 02:31 estheradame547

Design an application that assigns seats on an airplane. the airplane has 20 seats in first class (five rows of 4 seats each, separated by an aisle) and 90 seats in economy class (15 rows of 6 seats each, separated by an aisle). your app should take four commands: add passengers, show seating, create ticket and quit. when passengers are added, ask for the passenger’s name, the class (first or economy), the number of passengers traveling together (1 to 2 in first class, 1 to 3 in economy), and the seating preferences (aisle or window in first class, center or window in economy). try to find a match and assign seats. then create tickets for the passenger. the passenger tickets should be stored in an output file so they can be retrieved and printed at the airport. if no match exists, display a message. follow the design process that is described in the presentation for this topic.

ansver
Answers: 1

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, tjeffers90028
Refrigerant 134a enters an insulated compressor operating at steady state as saturated vapor at -26°c with a volumetric flow rate of 0.18 m3/s. refrigerant exits at 9 bar, 70°c. changes in kinetic and potential energy from inlet to exit can be ignored. determine the volumetric flow rate at the exit, in m3/s, and the compressor power, in kw.
Answers: 1
image
Engineering, 04.07.2019 18:10, salazjlove
Which of the following refers to refers to how well the control system responds to sudden changes in the system. a)-transient regulation b)- distributed regulation c)-constant regulation d)-steady-state regulation
Answers: 1
image
Engineering, 04.07.2019 18:20, alexis9263
Have a greater impact on maintenance productivity than any other support group. (clo5) a)-the top management b)-inventory and purchasing c)-sub-contracting d)-cmms
Answers: 2
image
Engineering, 04.07.2019 18:20, annette211pdd8v9
For a gate width of 2 m into the paper, determine the force required to hold the gate abc at its location.
Answers: 1
You know the right answer?
Design an application that assigns seats on an airplane. the airplane has 20 seats in first class (f...

Questions in other subjects:

Konu
Biology, 27.05.2021 20:20
Konu
Mathematics, 27.05.2021 20:20
Konu
Mathematics, 27.05.2021 20:20