c programming 45
Directions: You are to write a C++ program that meets the instruction requirements below.
Deliverables:
- Your C++ source code file. (The file with the .CPP extension).No other files will be accepted.
- A screenshot of your program running.
Program Instructions:
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 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.