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

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Steel is coated with a thin layer of ceramic to protect against corrosion. what do you expect to happen to the coating when the temperature of the steel is increased significantly? explain.
Answers: 1
question
Engineering, 04.07.2019 18:10
Slip occurs via two partial dislocations because of (a) the shorter path of the partial dislocation lines; (b) the lower energy state through partial dislocations; (c) the charge balance.
Answers: 1
question
Engineering, 04.07.2019 18:20
For a gate width of 2 m into the paper, determine the force required to hold the gate abc at its location.
Answers: 1
question
Engineering, 04.07.2019 19:10
Asteel wire of 2 mm diameter is fixed between two points located 2 m apart. the tensile force in the wire is 250n, if its density of steel is given by 7830 kg/m3 the fundamental frequency of vibration hz? ?
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
question
Mathematics, 27.09.2020 04:01
question
Mathematics, 27.09.2020 04:01
question
Mathematics, 27.09.2020 04:01
question
Mathematics, 27.09.2020 04:01
question
Mathematics, 27.09.2020 04:01
Questions on the website: 13722360