Question: 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 programming
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
Get step-by-step solutions from verified subject matter experts
