Easy question just need a quick program.
(Airline Resevations System) A small airline has just purchased a computer for its new automated reservations system. You have been asked to program the new system. You are to write a program to assign seats on each flight of the airline's only plane (capacity: 10 seats). The program should display the following menu of alternatives- Please type 1 for "First Class" and please type 2 for "Economy". If the person types 1, the program should assign him a seat in the first class section (seats 1-5). If the person types 2, the program should assign a seat in the economy section (seats 6-10). The program should print a boarding pass indicating the person's seat number and whether it is in first class or economy section of the plane. Use a single subscripted array to represent the seating chart of the plane. Initialize all the elements of the array to 0 to indicate that all seats are empty. As each seat is assigned, set the corresponding element of the array to 1 to indicate that the seat is no longer available. When the first class section is full your program should ask the person if it is acceptable to be placed in the nonsmoking section and vice versa. If yes, then make the appropriate seat assignment. If no then print the message "Next flight leaves in 3 hours."
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
Linux C++