Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
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.
Explain JAR Archives ? HTTP 1.0 uses a separate connection for every request. When you're downloading several small files, the time required to set up and tear down the connec
Socket and ServerSocket. ServerSocket is used for normal two-way socket communication. Socket class permits us to read and write by the sockets. getInputStream() and getOutputStrea
What is an Iterator? Some of the collection classes give traversal of their contents via a java.util.Iterator interface. This interface permits you to walk through a collection
What is Initializing Fields ? Fields can (and often should) be initialized while they're declared, just like local variables. class Car { String licensePlate = ""; // e.g
This exercise will give you some introductory exposure to network programming with sockets. Your task is to demonstrate a minimal server program and client program that can send on
ineed program for dda algorithem
Describe the Four Levels of Access Protection ? Any two various Java objects have one of four relations to each other. The four relations are: • The objects are in the simila
PART1: Write a class with the header public class OrderedPair > implements Comparable > instance variables private Key x private Key y constructor publicOrd
Action mapping having all the deployment information for a particular Action bean. This class is to verify where the results of the Action will be sent once its processing is done.
List the Parentheses used in Java language? As usual here's the output: % javac FahrToCelsius.java % java FahrToCelsius 0 -17.7778 20 -6.66667 40 4.44444 60 15.5556 80 26.6667
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!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd