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, aaliyah80
The drive force for diffusion is 7 fick's first law can be used to solve the non-steady state diffusion. a)-true b)-false
Answers: 1
image
Engineering, 04.07.2019 18:10, Fahaddie
The thermal expansion or contraction of a given metal is a function of the f a)-density b)-initial temperature c)- temperature difference d)- linear coefficient of thermal expansion e)- final temperature f)- original length
Answers: 2
image
Engineering, 04.07.2019 19:10, Mimidj9279
The sum of the normal stresses does not change as the stress state rotates through an angle. a)-trune b)- false
Answers: 2
image
Engineering, 04.07.2019 19:20, horsedoggal1234
Consider airflow over a flat plate of length l = 1.5 m under conditions for which transition occurs at le = 0.9 m based on the critical reynolds number, re, e = 5 x 10. evaluating the thermophysical properties of air at 400 k, determine the air velocity. (hint: use the tables to find the properties of air)
Answers: 3
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
Mathematics, 18.10.2020 08:01