(Airplane Seating Assignment) | 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.
Use two parallel arrays:
Your program must prompt the user to enter the following information:
Your program must contain at least the following functions:
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.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here