use c++ with arrays
can you create a program that assigns seats on an airplane. Assume the airplane has 30 seats in first class (5 rows of 6 seats each, separated by an aisle and 90 seats in economy class (15 rows of 6 seats each, separated by an aisle). Your program should display a menu: add passengers, show seating, delete reservation, and quit. When passengers are added, ask for the class (first or economy), the number of passengers traveling together (1 or 2 in first class; 1 to 3 in economy), the seating preference (aisle or window in either first class or in economy), and then their user id an arbitrary integer number). Then try to find a match and assign the seats (by storing the passenger id in the array) . If no match exists, print a message. If the passenger either choose show seating or delete reservation, then your program ask the user to enter its id, then program checks if the given id is in the array or not. If its found in the array, then the program do either delete reservation or show the seat. This continues until all seats are filled or until the user signals that the program should end.
i need it for an assignemts icant do it i need help plz