Question: C Programming Write a reservation system for an airline flight. Assume the airplane has 1 row with 20 seats in the row. Use a linked

C Programming

Write a reservation system for an airline flight.

Assume the airplane has 1 row with 20 seats in the row. Use a linked list to maintain a seating chart.

1. Allow the user to choose from three options.

a. Add a passenger to the seat.

b. Request the passengers 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

Please write in C

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!