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

  Designing vb applications across multiple platforms

Technical Project "Designing VB Applications Across Multiple Platforms". This assignment will contain two (2) Parts: Written Paper and Visual Basic Prototype. The Visual Basic Prototype is not included in the total page count but is included in the e..

  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..

  Ticketseller

Use Visual basic 2010Visual Basic,  TicketSeller. This assignment will contain two (2) Parts: Event Planning Document and Coding phase. You must submit both parts as separate files for the completion of this assignment. Remember, you are only to de..

  Data storage & "exception error trapping"

Discussion on Data Storage and  "Exception Error Trapping".

  Designing vb applications across multiple platforms

Technical Project "Designing VB Applications Across Multiple Platforms".

  The implementation of server side of the application

Implementation of dynamic content, server side (backend) and database for your web site using Microsoft Visual Studio 2012

  Need help building a vwd website

Need help building a VWD website. This website may not go live. I have little progress as a family tragedy has impeded my time for school.

  To develop a visual basic console application

The aim of the assessment is to develop a Visual Basic console application that performs a number of mathematical functions. The mathematics package will be menu driven, i.e. a number of options will be displayed, and the user will be able to input w..

  Program in basic which prompts user to input two integers

Write down the program by using Small Basic which prompts the user to input two integers: firstNum and secondNum (firstNum must be less than secondNum).

  Develop vb-net application that includes arrays and loops

Develop a VB.NET application that includes arrays, loops, and IF statements to do the following. Your output must also display the number of applicant(s) being interviewed.

  Visual basic program to accept numeral values

Write a VISUAL BASIC program to accept numeral values of any unit, sum up the total, calculate the average, and then Output the result with a proper unit.

  Write a visual logic program to accept series of number

Write a Visual Logic program which accepts a series of numbers, until the first negative value is entered. The maximum number of non-negative input values is 250.

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