A small airline has just purchased a computer


In Visual Basic 2010. Please submit completed application as a .zip file

A small airline has just purchased a computer for its new automated reservations system. You've ben asked to develop the new system. You are to write an application to assign seats on each flight of the airline's only plane (capacity:10 seats).
Your appication should display RadioButtons that allow the user to choose First Class or Economy. If the user selects First Class, your application should assign a seat in the first-class section (seats 1 - 5). If the user types Economy, your application should assign a seat in the economy section (seats 6 - 10). Your application should then display a boarding pass indicating the person's seat number and whether it's in the first-class or economy section of the plane.

Use a one-dimensional array of type Boolean to represent the plane's seating chart. All the elements of the array are initially False to indicate that the seats are empty. As each seat is assigned, set the corresponding elements of the array to True to indicate that the seat is no longer available.

Your application should never assign a seat that has already been assigned. When the economy section is full, your application should ask the person if it's acceptable to be placed in the first-class section (and vice versa). If yes, make the appropriate seat assignment. If no, display the message "Next flight leaves in 3 hours."

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: A small airline has just purchased a computer
Reference No:- TGS088811

Expected delivery within 24 Hours