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
Develop a simple polling (voting) web application according to the following specifications: Initially a page should be presented to the user where he can enter his/her name

How can we define a computer screen? A computer screen is define as use to display output of computer to the user. Computer screen is consists of pixels.

List down the names of two array techniques available in JavaScript. The two techniques thata rae available in java script is: 1. sort( ) [sorts elements within alphabetical

RMI Object services: In addition to its remote object architecture, RMI gives some basic object services, which may be needed in a distributed application. 1.  Object namin

Write a programme to create a webpage that prints the name of the STUDENT database in Wide Latin font and set the subtitle with description of the STUDENT to the screen. Set the pa

Project Description: I want a lot of developers to develop modules The basic purpose of this project is to prepare a standard ERP Software Company will be divided into module

What Content Issues is happened in java language? Some people claim in which Java is insecure since it can show the user erotic pictures and play flatulent noises. By this stan

How can you define a consistent web design? Why is it needed? A consistent web design should be the one in which achieves the result in which it was designed for, which result

A Scrollbar is a Component while Scroll Panel is a Container. A Scroll Panel handles its own events and performs its own scrolling.

Implement your design in the Java programming language. Your main program file must be called MIPSim.java. Your simulator should implement the MIPS instruction set with the rest