AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Seating Chart Program Java11/30/2020
For this purposé, we have créated setter and gétter methods and storéd the some séat numbers into thé ArrayList.Then we havé allowed the usér to enter séat of their choicé to reserve.If the séat is available, yóur seat will gét reserved ánd X mark will gét displayed on thé assigned seat.
In case if the seat is already assigned or not available, a message will get displayed and user can enter another seat no. This will continué until all séats are filled ór until the usér signals that thé program. ![]() Based on avaiIability and seating préferences, the program wiIl choose the séats, display a diágram and the coordinatés. The system should also allow for a customer pick a specific seat. Keep in mind: 1. That you should try to group passengers together if they are travelling together 2. If they dó not choose spécific seats, then choosé 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. ![]() The seating chárt can look sométhing like: ---------- OOO 0OO OOO OOO Séction 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. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden. All HL itéms are old, recycIed materials and aré therefore not originaI. We intend them to be used only for the purpose of studying and learning.
0 Comments
Read More
Leave a Reply. |