1. Write a program to assignpassengers seats in an airplane. Assume a small airplane with seatnumbering as follows:
1 A B C D
2 A B C D
3 A B C D
4 A B C D
5 A B C D
6 A B C D
7 A B C D
The program should display the seatpattern, with an ‘X’ marking the seats already assigned. Forexample, after seats 1A, 2B, and 4C are taken, the display shouldlook like:
1 X B C D
2 A X C D
3 A B C D
4 A
PayPal Gateway not configured
PayPal Gateway not configured