Data structures programming, JAVA Programming

Assignment Help:

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.


Related Discussions:- Data structures programming

Write code in javascript to display the odd numbers, Write code in JavaScri...

Write code in JavaScript to display the odd numbers among 20 to 100 using FOR statement? Note: No required to write whole HTML program. Just JavaScript code of require elemen

Streaming and decorator construction in java i/o, Java output and input is ...

Java output and input is described in terms of an abstract concept named a " stream ", which is a sequence of data. There are 2 types of streams. 1.      Byte streams (8 bit

Develop an android app for me, Project Description: I need someone to pr...

Project Description: I need someone to prepare an android app for me and provide it to me asap. The app details to be provided on pm Skills required: Java, Android

Difference b/w a static variable and an instance variable?, Class variables...

Class variables are named as static variables. There is only single occurrence of a class variable per JVM per class loader. When a class is operated the class variables are in

Explain booleans in java, Explain Booleans in java? Booleans are named ...

Explain Booleans in java? Booleans are named after George Boole, a nineteenth century logician. Every boolean variable has one of two values, true or false. These are not the s

Make a function in java script and compare with ten, Write JavaScript code ...

Write JavaScript code for the following: Make a function compare With Ten (value) Compare the function argument along with ‘10' and display a message while the value is le

What are the object and class classes used for, The Object class is the hig...

The Object class is the highest-level class in the Java class hierarchy. The Class is used to show the classes and interfaces that are loaded by a Java program..

Need to code using java in netbeans for my dissertation, I need to code usi...

I need to code using java in netbeans for my dissertation which is in data mining domain...deals with privacy preserving of sensitive rules or items using association rule hiding

Applying java if and if..else statements, For this Assignment, submit the f...

For this Assignment, submit the following program: Create an application for an animal-fur trimming service. The business is open 15 weeks of the year, from April through July. The

Mobile pop-under script for mobile browsers, Project Description: Give a...

Project Description: Give a script that will produce a pop-under on a mobile landing page -We can host our own landing page and we will want to change the destination URL for

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd