*****Using C++ in Microsoft Visual Studio***** C&M Airlines (Charlie and Mable)
ID: 651562 • Letter: #
Question
*****Using C++ in Microsoft Visual Studio*****
C&M Airlines (Charlie and Mable) operates a small commuter airline with a single plane that seats 12 passengers. The plane makes one flight per day. Write a seating reservation program as described.
The passenger information is stored in an array of 12 structures. This array should be maintained in the main() function.
Each structure holds the seat ID, a marker that indicates if the seat has been assigned, a passenger first name and a passenger last name. The program repeatedly displays the following menu until Quit is selected.
Choose a function:
a.) Show number of empty seats
b.) Show list of empty seats
c.) Assign a seat
d.) Delete a seat assignment
e.) Quit
Choices c.) and d.) will require additional input from the user; Passenger name for both, and seat number for c.) Checks should be made so that a passenger can