airline reservation java code 0 Answer(s) 3 years and a month ago
Posted in : Java Beginners
Write a program that simulates the booking of seats on board a small airplane. The layout of the aircraft is illustrated below. You will be required to create a menu based system with the following choices: (a) View Seating (b) Book a Seat (c) Cancel a Booking (d) Reset All (e) Quit Each of the above will require a method which takes an array as a parameter. You can of course add more options to this basic menu list if you wish. However at all times the user should be able to view the state of the aircraft bookings i.e. option (a) and thus be presented with a representation of a 2D array similar to that below: You are required to output the current values of the array to show the current seating arrangement in graphic format. As can be seen, you will need output some space for an aisle to separate columns A and B from columns C and D. Similarly rows 1-4 (non-smoking) should be output separately from rows 5 – 6 (smoking) The grid references should also be output to the screen. A,B,C and D for the columns and 1-8 for the rows. You don’t have to simulate the box effect as in the diagram above, but try to keep the output as clear as possible with all reference points indicated. Use ‘X’ to indicate that a seat is booked and a hyphen ‘-‘ to indicate that the seat is still available. Bookings can be made by selecting option (b) At which point the user is asked which seat number (reference) they wish to book. For example, seat B4 is selected in the diagram above. Option (c) should allow the user to enter a booked seat reference and make it available again. Option (d) Should reset the bookings and free up ALL seats once again. Things to consider : Smoking or Non-Smoking: Seats in rows 5,6,7 and 8 are designated as smoking seats. When making a booking - option (c) - the user should be asked their preference (Smoking or non-smoking?) If for example they choose smoking and all seats are full in that section, they should be informed of this and offered a seat in the non-smoking section. If the seats are not full in the smoking section and they proceed to enter a reference number that is in the non-smoking section,
hi, can some one plz help me with this , even to ge tit started thnx
View Answers
Related Pages:
airline reservation - Java Beginners airlinereservation example (AirlineReservation System) A small airline has just purchases a computer for its new automated reservations system...). Please give an example of reservation
airline reservation java code - Java Beginners airlinereservationjavacode Write a program that simulates the booking of seats on board a small airplane. The layout of the aircraft is illustrated
below. You will be required to create a menu based system
railway reservation system - Java Beginners
railway reservation system help me develop a code on a railway reservation system which maintains records of passengers traveling in the different..., the reservation of the passengers is made by supplying the train number or the the name
how to prepare railway reservation form using core java concepts
how to prepare railway reservation form using core java concepts write code for online railway reservation form:
The following constraints are:
a) Fix the no.of Tickets alloted for online reservation
b) on each ticket booking
ticket reservation
ticket reservation sir i need a java program for the airway online ticket resrvation using swings in java as frontend and mysql as backend.....
sir ur program will be very help full for our project
reservation system - Java Beginners reservation system hi help me write a program on a railway reservation system that records the destination of the passengers.It should be decided by the date on which they are to arrive on their destinations and also the number
reservation of seat in plane reservation of seat in plane hi,how can i write a program in Java programming to place reservation in air plane
from the menu let the user to inter his/her name, age, date of traveling, and the seat in the plane
place reservation in plane
place reservation in plane hi,how can i write a program in Java programming to place reservation in air plane
from the menu let the user to inter his/her name, age, date of traveling, and the seat in the plane
airline with hotels airline with hotels I need airlines with hotel webpages on php
What is CICS?
, colleges and universities, airlinereservation systems, insurance companies... Enterprise Java
Beans language for handling the big number of transaction
Assign Airline Seats to Passengers using Java
Assign Airline Seats to Passengers using Java
Here we are going to create an application through which we can assign seats to passengers in an airplane... signals that the program
should end.
Here is the code:
import java.util.
Railway reservation
Railway reservation Railway Department wants to automate the ticket reservation process. Customer should
be able to check the availability of a train by giving the source and destination. Assume
that there is no booking
railway reservation
railway reservation hello sir,
i am creating railway reservation... = new JLabel(ddd);
lbl4 = new JLabel("Reservation System");
btnRes = new JButton("Reservation");
btnEnq = new JButton("Enquiry");
btnCont
railway reservation
railway reservation hello sir,
i am creating railway reservation... = new JLabel(ddd);
lbl4 = new JLabel("Reservation System");
btnRes = new JButton("Reservation");
btnEnq = new JButton("Enquiry");
btnCont
coding for railway reservation project
coding for railway reservation project i want to help for creating coding in visual basic for railway reservation project
Railway Reservation
Railway Reservation i've a project on railway reservation... i need to connect netbeans and mysql with the help of jdbc driver... then i need to design the frame... aftr clickg run i need to enter data to ma frame and the data
code code hi
I need help in creating a javacode that reminds user on a particular date about their festival.
i have no clue of how to do it..
am looking forward to seek help from you
code
code <
comp xlink:type="new" xlink:actuate="onload"/>
how to write this in java
Snippet Code Error
Snippet Code Error The following is a snippet of code from a Java application which uses Connector/J to query a MySQL database. Identify possible...= 0");
rs= s.getResultSet();
while (rs.next())
{
Reservation v
Code
Code how to print this??
with the use of only JSP.......
1
23
456
78910
Here is the jsp number pattern example:
1
2 3
4 5 6
7 8 9 10
<%@page language="java"%>
<%
int k = 1;
for(int i=1; i<= 4 ;i
JSP
), cancelled (c).
Please visit the following link:
JavaAirline Ticket Reservation...JSP Create a JSP to check the status of bus ticket reservation from
JAVA code For JAVAcode For JAVAcode For "Traffic signals Identification for vehicles
java code java code what is the code to turn off my pc through java program
JAVA CODE JAVA CODE JAVA SOURCE CODE TO BLOCK A PARTICULAR WEB SITES(SOCIAL WEB SITE
java code java code write a javacode to convert hindi to english using arrays
java code java code develop a banking system in java
java code java code hi any one please tell me the javacode to access any link
i mean which method of which class is used to open any link in java program
java code java code how to extract html tags using java
java code java code need javacode for chart or graph which compare the performance of aprior algorithm and coherent rule algorithm.plz any one help me out
java code java code write a javacode for finding a string in partiular position in a delimited text file and replace the word with the values given by user and write the file in new location
java code java code sir how to merge the cells in excel using javacode please help me and also how to make the text placed in the cell to be center
java code java code sir how to merge the cells in excel using javacode please help me and also how to make the text placed in the cell to be center
java code java code I need the javacode that would output the following:
HARDWARE ITEMS
CODE DESCRIPTION UNIT PRICE
K16 Wood screws,brass,20mm $7.75
D24 Wood glue,clear,1 liter $5.50
M93
Java code Javacode Create a washing machine class with methods as switchOn, acceptClothes, acceptDetergent, switchOff. acceptClothes accepts the noofClothes as argument & returns the noofClothes
java code java code what is meaning bufferedreader
java code java code what is meaning bufferedreader
jsp code - JSP-Servlet
jsp code sample code to create hyperlink within hyperlink
example:
reservation:
train:
A/C department
non A/c Department
java code java code I am beginer in java my question is how can i fill data from mysql database to jcombobox using netbeans
Java Code Java Code Write a java program, which creates multiple threads. Each thread performs add/delete/update operations on an ArrayList simultaneously
java code java code An employee _id consist of 5 digits is stored in a string variable strEmpid. Now Mr.Deb wants to store this Id in Integer type to IntEmpid. write Java statements to do
java code java code HOW TO PRINT 1 TO 100 WITHOUT USING CONDITIONAL,ANY LOOP AND ARRAY IN JAVA AND C.URGENT SIR PLZ Hi,
You can use following code:
class MyClass
{
public static void main(String[] args)
{
int
java code java code Write a program to find the difference between sum of the squares and the square of the sums of n numbers
java code java code Develop a program that accepts the area of a square and will calculate its perimeter
java code java code Create a calculator class which will have methods add, multiply, divide & subtract
java code java code input any word
ie risk,resul is--
r
ri
ris
risk
java code java code Develop the program calculateCylinderVolume., which accepts radius of a cylinder's base disk and its height and computes the volume of the cylinder
java code java code Develop the program calculateCylinderArea, which accepts radius of the cylinder's base disk and its height and computes surface area of the cylinder