The Econo-Airlines fleet consists of one plane with a seating capacity of 12.

It makes one flight daily.

The aircraft seating is arranged in 6 rows with 2 seats per row.

The program uses an array of 12 structures.

Each structure holds a seat identification number, a marker that indicates whether the seat is assigned, the last name of the seat holder, and the first name of the seat holder.

The program displays the following menu:

To choose a function, enter its letter label:
a. Display ALL seat assignments (including Empty).
b. Show ONLY a list of empty seats and show total of empty seats
c. SHOW ONLY the assigned seats with name of person and total assigned.
d. Assign the customer to an empty seat.
e. Delete ONE seat assignment.
f. Delete ALL seat assignments.
q. Quit program.

The selection must NOT be case sensitive.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.