Question: need coding in visual basic and form design with details. visual basic Write a reservation system for an airline flight. Assume the airplane has 10

need coding in visual basic and form design with details. visual basic

Write a reservation system for an airline flight. Assume the airplane has 10 rows with 4 seats in each row. Use a 2-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 served"; that is, people who are added early to the list get priority over those added later. Allow the user the following options: 
A. Add a passenger to the flight or wait-list. 1. Request the passenger's name 2. Display a chart of the seats in the airplane in tabular form. 3. If seats are available, let the passenger choose a seat. Add the 
 passenger to the seating chart. 4. Validate seat numbers A1 through D10. 5. If no seat preference specified, assign an open seat to them. 6. If no seats are available, place the passenger on the waiting 
 list. B. Remove a passenger from the flight. 
 1. Verify the name is either a passenger or on wait-list. 
 2. If passenger is on wait-list then delete it from wait-list and . adjust wait-list names. 
 3. If the passenger is on the plan, delete them from plane. And make seat available. 
 4. If the waiting list is not empty, remove the first person from the list, and give him/her the newly vacated seat. 
C. List the passengers on the flight. 1. Using a new form, display the passenger list in tabular form 
 showing their name and Assigned Seat. Include in the display the 
 waiting list. 2. Allow the list to be: printed, previewed, print setup, and font 
 changed. Examine DisplayText.zip project to use the 

frmDisplay.zip files D. In order to test the Wait-list, include an Input requesting a

 number from 0 to 40 which will automatically create passengers named: Pass1, Pass2, etc. when the program starts. If isn't a number or not between 0 and 40, then default to 0. 
1) Every procedure has a comment 2) Block comment at beginning of Class Form 3) All objects follow the naming convention 4) Forms constructed correctly (Appearance only) 6) Program validates names when adding or deleting 7) Program validates seating assignment when entered 8) Program uses 2-D Array to store information 9) Program uses at least 3 Sub or Function calls 10) Program correctly adds passenger to plane/waitlist 11) Program correctly deletes passenger from plane and 
 If waitlist not empty assigns 1st to that seat 
12) Program lists passengers correctly. 
13) Program Uses frmDisplay.vb correctly. 
14) Program Reset works correctly. 
15) Program can start up with passengers assigned need coding in visual basic and form design with details. visual basicWrite a reservation system for an airline flight. Assume the airplane has10 rows with 4 seats in each row. Use a 2-dimensional arrayof strings to maintain a seating chart. In addition, create an arrayto be used as a waiting list in case the plane is

Shnorn at ctart ln torith omnte nlano. 1) Shown after adding 1st passenger allowing program to select an open seat: List of Flight is shown below in 2 screen shots: Shown at start up with 40 passengers assigned: (3) Shown after adding passenger: A Linn List of Flight is shown below in 2 screen shots

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!