Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

please write the code in C programming Write a reservation system for an airline flight. Assme the airplane has 1 row with 20 seats in

please write the code in C programmingimage text in transcribed

Write a reservation system for an airline flight. Assme the airplane has 1 row with 20 seats in the row. Use link it to maintain seating chart. [1] Allow the user to choose from three options [first class, business, and economy) a. Add a passenger to the seat. b. Request the passenger's name list. Hint Displaying all names in the list c. If seats are available let the passenger choose a seat. Add the passenger to the seating chart. d. If no seats are available, display message "no seat available" e. Remove a passenger from the list [2] The program should retain the list when it close (hint: use files to save list after each operation, and reload the list when the program start) 3] Passenger Record a. Name b. Seat number c. Destination d. Age

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students explore these related Databases questions