COSC 236 For this lab we will simulate an airplane seating chart system. The pro
ID: 3539345 • Letter: C
Question
COSC 236
For this lab we will simulate an airplane seating chart system. The program will initially start with an empty airplane. The system will ask seating preferences (such as window, isle seat, section of the plane) as well as how many tickets. Based on availability and seating preferences, the program will choose the seats, display a diagram and the coordinates. The system should also allow for a customer pick a specific seat. Assume that the middle 3 rows in section 2 are wing seats.
Keep in mind:
1. That you should try to group passengers together if they are travelling together
2. If they do not choose specific seats, then choose by preferences
3. You may also want to have a method for placing passengers in the next available spot, if there are no preferences
4. You should display the current availability of the seats (O for Empty, X for occupied)
5. Break down the program into methods as much as possible.
Extra Credit:
Also store specific details of each passenger, along with their seating chart.
The seating chart can look something like:
----------
/
// \
| OOO OOO|
| OOO OOO| Section 1
| OOO OOO|
| OOO OOO|
| OOO OOO|
| OOO OOO|
| OOO OOO|
| |
| OOO OOO|
| OOO OOO|
| OOO OOO| Section 2
| OOO OOO|
| OOO OOO|
| |
| OOO OOO|
| OOO OOO|
| OOO OOO| Section 3
| OOO OOO|
| OOO OOO|
| OOO OOO|
Explanation / Answer
hello... :)
I can do this assignment completely as you want it
I don't need chegg points so
just add me on skype
adiboi-10 its my id
or on gmail
adil.sarwar921@gmail.com so we can talk about this :) thanks
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.