I want to pls somebody help me with this pascal problem. Here it is;
Write a program to assign passenger seats in an airplane. Assume a small airplane with seats numbered 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
Then let's the user to choose his desired seat(s). Then the program should display the seat pattern, marking with an 'X' the seats already assigned. For example, after seats 1A, 2C, 3B, 4D, 5C, 6A and 7D are taken orchoosen by the user. The display should look like this:
1 X B C D
2 A B X D
3 A X C D
4 A B C X
5 A B X D
6 X B C D
7 A B C X
I'm not with this field but I'm studying on it. And the code of this pogram will be my guide as I go on with my goal to know a programming language starting from basic.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!
Discuss This Question: