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

  Create a second-level item for the order menu

The rectangle below is used to create a second-level item for the Order menu. The rectangle on the right is used to create a new first-level menu item.

  Design a logic for a program

Design a logic for a program that allows a user to enter 15 numbers, then displays each number and its difference from the numeric average of the numbers entered.

  Effectiveness of the design and proposed program

Evaluate the overall design of the application and draw appropriate conclusions as to the effectiveness of the design and proposed program - Discuss and justify a means of representing the results of the calculations via an appropriate medium/objec..

  Problem involving option buttons and radio buttons.

The Solution cannot be opened with Visual Basic 2010.

  Write a program using visual basic 2012

Write a program using Visual Basic 2012 that reads a test score from a text box each time a button is clicked, and then shows the two highest scores whenever a second button is clicked. Use two class-level variables to track the two highest scores..

  Explanation of benefits to the business

Explanation of benefits to the business of using your proposed system, both tangible and intangible

  Write visual logic program to accept number til negative

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.

  Create a setup program for the project

Place breakpoints in the code at appropriate places for testing.

  Shipping charge for the following zip codes

Need application code for visual basic should display the appropriate shipping charge. shipping charge for the following ZIP codes is $32: 60618, 60620, and 60632. All other ZIP codes are charged $37.75. Code the application in visual basic

  To demonstrate completing and delivering a prototype rad

to demonstrate completing and delivering a prototype rad system using oops capabilities of vb.net. prepare a vvb boards

  Add a form that includes the richtextbox control

Add a form that includes the RichTextBox control and several predefined template letters

  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.

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