![]() Initialize all the elements of theĪrray to false to indicate that all the seats are empty. Use a one-dimensional array of primitive type boolean to represent Person's seat number and whether it is in the first-class or economy YourĪpplication should then display a boarding pass indicating the Should assign a seat in the economy section (seats 6–10). If the user types 1, your application should assign a seat in theįirst-class section (seats 1–5). Your application should display the following alternatives: You are to write an application toĪssign seats on each flight of the airline’s only plane (capacity: 10 You have beenĪsked to develop the new system. (Airline Reservations System) A small airline has just purchased a computer for its new automated reservations system. The current problem I've just been working on is this: ![]() Would it be possible to get some feedback on some code I've just written? I've been working my way through Deitels' Java How to Program for the past few months and thought I'd better ask for some help before my bad coding habits get too ingrained.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |