Write a reservation system for an airline flight

Assignment Help Visual Basic Programming
Reference no: EM131028416

AirlineReservation with waitingList Visual Basic 2010

Write a reservation system for an airline flight. Assume the airplane has 10 rows with 4 seats in each row. Use a two dimensional array of strings to maintain a seating chart. In addition, create an array to be used as a waiting list in case the plane is full. The waiting list should be "first come first serve" that is people who are added early in the list get the priority over those who are added later. Allow the user to choose from three options.

1. Add a passenger to the seat or waiting list.

a. Request the passenger's name.
b. Display a chart of the seats in the airplane in a tabular form.
c. If seats are available let the passenger choose a seat. Add the passenger to the seating chart.
d. If no seats are available, place the passenger on the waiting list

2. Remove a passenger from the list

a. Request the passengers name
b. Search the seating chart for the passenger's name and delete it.
c. If the waiting list is empty, update the array so that seat is available
d. If the waiting list is not empty remove the first person from the list, and give him/her the newly vacated seat.

Reference no: EM131028416

Questions Cloud

Describe how the elements of organising a wedding : Project management is the discipline of planning, organizing, securing and managing resources to bring about the successful completion of specific project goals and objectives.
How many four-digits numbers can be formed : How many four-digits numbers can be formed under the following conditions?
Standard error to your estimate : A box has red marbles and blue marbles. The fraction p of reds is unknown. 250 marbles are drawn at random with replacement, and 102 turn out to be red. Estimate p. Attach a standard error to your estimate.
How many of these contain the letter p : Find the number of different selections of three letters which can be made from the letters of the word PARALLELOGRAM.
Write a reservation system for an airline flight : Write a reservation system for an airline flight. Assume the airplane has 10 rows with 4 seats in each row. Use a two dimensional array of strings to maintain a seating chart.
How to improve the systems development process : What do information technology managers need to know about how to improve the systems development process through joint optimization
Find the mean and variance : Suppose ξ and ζ are jointly normal variables, with E(ξ ) = α, var(ξ ) = σ2, E(ζ ) = β, var(ζ ) = τ 2, and cov(ξ, ζ ) = ρστ. Find the mean and variance of ξ + ζ. Is ξ + ζ normal?
In how many ways can 6 couples be seated at a circular table : How many ways can 5 Manchester United and 8 Chlesea players be seated at a circular dinner table if no two Manchester United players can sit together?
What is atomic radius of tungsten atom in this environment : Tungsten has the highest melting point of any metal in the periodic table: 3422 °C. The distance between W atoms in tungsten metal is 2.74 Å. What is the atomic radius of a tungsten atom in this environment? (This radius is called the metallic radi..

Reviews

Write a Review

Visual Basic Programming Questions & Answers

  Include a reset button which clear the interface controls

Include a Reset button, which will clear the interface controls the conversion is from wet liters to wet pints and from wet liters to wet gallons.

  Create an application in which a user can enter a phone book

Create an application in which a user can enter a phone book entry, including the following elements: First Name, Last Name, Phone Number, email address

  Calculate and display a customer''s cable bill

The Calculate Total Due button's Click event procedure should calculate and display a customer's cable bill. The cable rates are shown below. Business customers must have at least one connection. The form's FormClosing event procedure should verif..

  Modify the gate takings application

Your application from Activity 1 was able to keep a record of the total attendance and the total cash collected from ticket sales from all events happening at the Games.

  Build an application based upon temperature converter app

e purpose of this assignment to confirm that sub routines and functions can be used within Visual Basic programs. Build an application based upon the Temperature Converter application demonstrated in this week's Presentation.

  Create a computer program that calculates the zero

Using Microsoft Visual Basic for Applications in Excel, create a computer program that calculates the zero(s) of the equation f(x)=e^(x)-10x=0 by using the inverse linear interpolation (regula falsi) method.

  Create a project for claytors cottages

Create a project for Claytor's Cottages, a small bed and breakfast. Use an MDI form with a menu, a con­text menu, a toolbar, and a status bar

  Design vb project to calculate checking account balance

Design vb 2008 project to calculate a checking account balance. form: include radio buttons to indicate the type of transaction: deposit, check, or service charge.

  Visual basic programming discussion

The use of decision logic is one of the major concepts of computer programming. The decision takes your code from being sequential to one that can take various options based on the different conditions. Determine the method of coding that you would u..

  Arithmetic calculator applicationwrite an application that

arithmetic calculator applicationwrite an application that allows the user to enter a series of numbers and manipulate

  Calculates the sum of the mathematical series

Write a Function procedure that implements the above code to calculate 2 to the exponent. This function should accept an Integer value and calculate 2 to that exponent, returning this calculated value in the end - Write a Function procedure that ca..

  Organize the code for user readability

Organize the code for reusability, Provide documentation with embedded comments for reader understanding

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