Question: java language Programming Exercise 11-2 (10 Points) Complete Project #11 on Page 423 of the textbook: Write a program to assign passengers seats in an

java language
Programming Exercise 11-2 (10 Points) Complete Project #11 on Page 423 of the textbook: Write a program to assign passengers seats in an airplane. Assume a small airplane with seat numberings as follows: 1ABCD 2A BCD 3A BCD 4 A BCD 5A BCD 6 A BCD 7ABCD The program should display the seat pattern, with an 'X marking the seats already assigned. For example, after seats 1A, 2B, and 4C are taken, the display should look like the following: 1XBCD 2AXCD 3 ABCD 4 ABXD 5ABCD 6 ABCD 7ABCD After displaying the seats available, the program should prompt for the seat desired, the user can type in a seat, and then the display of available seats should be updated. This continues until all seats are filled or until the user signals that the program should end. If the user types in a seat that is already assigned, the program should say that that seat is occupied and ask for another choice
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
