Question: PLEASE PROGRAM IN C LANGUAGE ONLY THANK YOU Q1: (Airline Reservation System)(35points) A small airline has just purchased a computer for its new automated reservations


PLEASE PROGRAM IN C LANGUAGE ONLY THANK YOU
Q1: (Airline Reservation System)(35points) A small airline has just purchased a computer for its new automated reservations system. The president has asked you to program the new system. Youll write a program to assign seats on each flight of the airline's only plane (capacity: 10 seats). ars should first be setup for the night. You need to ask the user the specifications Le the number of first class and economy seats. As an example the user inputs 5 4 Meaning 5 first class and 4 economy class seats. Your program should display the following menu of alternatives and the available seats Please type 1 for "first class" (5) Please type 2 for "economy" (4) . . Please type 3 to display seating chart. Please type 4 to end If the person types 1, then your program should assign a seat in the first-class section (seats 1-5). If the person types 2, then your program should assign a seat in the economy section (seats 6-9). Your program should then print a boarding pass indicating the person's seat number
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
