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

1. Pre-translated: Before the JSP file has been compiled and translated into the Servlet. 2. Translated: The JSP file has been compiled and translated as a Servlet. 3. I

How do you decide when to use HashMap and when to use TreeMap? When we want to perform deletion, insertion and locate elements in a Map then HashMap is used. Whereas TreeMa

Are constructors inherited ? Can a subclass call the parent class constructor and When?

Illustrate the parser method The below table summarizes the parser methods available to a java programmer.

What are the Sub categories of Artificial Intelligence? Briefly explain any two? 1. Expert systems: Expert system is in which system that is in some limited sense, could repl

AskWrite an application that uses an Array to store 10messages of type String. You will store this Array with 10 messages of your choosing. For example, a message could be “I love

1.   final - it is a constant declaration. 2.   finally - handles exception. The finally block is optional and gives a mechanism to clean up regardless of what occurs within

Whatsapp bulk messenger to unlimited numbers Project Description: Develop a desktop application or script solution to bulk whatsapp sms without getting any block from the wha

To load a text-file, read it line by line, and return the total number of alphanumeric tokens it contains and skip over the comments and double-quoted strings in the text-file whil