Data structures programming, JAVA Programming

Colossus has just purchased a computer for its new automated reservation system. You have been asked to program the new system.  You are to write a program to assign seats on each flight of which there are five daily flights of one plane with a seating capacity of 10.  Your program should display the following graphical menu:

COLOSUS AIRLINES

    MAIN MENU

1.     MAKE RESERVATION

A.    SMOKING

B.     NON-SMOKING

2.     CANCEL A RESERVATION

3.     DISPLAY A SEAT ASSIGNMENT

4.     DISPLAY ALL SEAT ASSIGNMENTS

5.     PRINT BOARDING PASS

6.     QUIT

Of the ten seats available on each flight, seats 1 through seats 5 are to be in the smoking section and seats 6 through 10 in the non-smoking section.  To make reservation you will need the customer's name, street address, city, state, zip code, flight and seat number to complete the reservation record.  This reservation must be written to a LINKED LIST.  Option 2 requires the customer's name and the flight number to delete a seat assignment.  Flight numbers are 100, 200, 300, 400, and 500.  Option 3 requires either a customer's name and flight number or seat number and flight number.  Option 4 display all passengers first sorted by flight number, secondly by last name and thirdly by first name.  Option 5 prints a boarding pass containing the words "COLLOSUS  AIRLINES-BOARDING PASS"  along with the passenger name, the flight number and the seat assignment.  Finally, option 6 terminates the program with the now- famous "are you sure?"/"Yes" "NO" option.  Your program, of course, should never assign a seat that has already been assigned.  When the smoking section is full the program should display a message to that effect and the passenger should be allowed to choose the non-smoking section and vice versa.

The whole work must be graphical, only data structures codes in java6 or Java7 is accepted.

Posted Date: 3/1/2013 6:40:49 AM | Location : United States







Related Discussions:- Data structures programming, Assignment Help, Ask Question on Data structures programming, Get Answer, Expert's Help, Data structures programming Discussions

Write discussion on Data structures programming
Your posts are moderated
Related Questions
JavaScript is an extremely powerful object-based (or prototype-based) language. It is not a full-blown OOP (Object-Oriented Programming) language, like Java, however it is an objec

how do you access a value of an array?

I''ve been trying to get this java program to work but im lost and Im stuck ! The factorial of a positive integer N, denoted by N! N!=1*2*...*N Using subprograms and f unctions,c

Task 1 Create a new project in Eclipse called Assignment 1. Within this project create a package called task01. 1/ Download the class Date (you must use this class - no

I have a very simple app that I have developed and is in the AppStore. I need the app to be developed for Android as it is presently in Objective C only. All plist html/ lists s


Consider the following C++ template class. #include using namespace std; template class SortedList { public: SortedList() {size = 0;} void insert(T item); friend ostrea

Create a class to implement the ArrayList collection. The name should be YourFirstNameArrayList; for example if I were creating the class then I would call it WaynesArrayList. Do

Calculate the kilometer within an hour? class Car { String licensePlate = ""; // e.g. "New York 543 A23" double speed = 0.0; // in kilometers per hour doubl

For this assignment you'll create some classes for modeling tickets for a city subway system. The type of system we are modeling has these main features: Stations are grouped in