Question: Please show the outputs Write a program that can be used to assign seats for a commercial airplane. The airplane has 13 rows, with six
Please show the outputs 
Write a program that can be used to assign seats for a commercial airplane. The airplane has 13 rows, with six seats in each row. Rows 1 and 2 are first class, rows 3 through 7 are business class, and rows 8 rows through 13 are economy class. Your program must prompt the user to enter the following information: a. Ticket type (first class, business class, or economy class) b. Desired seat Output the seating plan in the following form: Here, * indicates that the seat is available; X indicates that the seat is occupied. Make this a menu- driven program; show the user's choices and allow the user to make the appropriate choices. Your program will show a before and after image of the above layout and will process no less than 25 customers with varying seating and ticket requests
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
