Airline reservations system

Assignment Help Visual Basic Programming
Reference no: EM1380246

A small airline has just purchased a computer for its new automated reservations system. You've been 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 application 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."

Reference no: EM1380246

Questions Cloud

Creating a home inventory database : Construct one query of your selection. Remember a query answers a question. As an example, list all household electronics that are greater in value than $200.
Object oriented approach versus the relational database : Supporters of object oriented databases list many benefits for using the object oriented approach versus the relational one.
Theory of charisma described as a double-edge sword : Why is the theory of charisma described as a double-edge sword and please identify a leader that used charisma in a negative manner
Question about database administration : Should the data administrator really be on the same level as the DBA, generally somewhat low in corporate hierarchy or should this person have an elevated level of importance?
Airline reservations system : Airline Reservations System - A small airline has just purchased a computer for its new automated reservations system.
System administrators database, network and application : What methods would you use to effectively manage a team of system administrators database, network, application working in your data center?
Cost control techniques : Assume your company has just completed the Initiation Process for implementing an Email System Upgrade. It was identified in a recent meeting with management leaders from the Sales,
Importance of database documentation : Assume your database is performing poorly, and you just started this new job within the past month. You ask to see the documentation for system and are told it does not exist.
Describe open source and proprietary databases : Describe open source and proprietary databases. What are some drawbacks and benefits of each type of database?

Reviews

Write a Review

Visual Basic Programming Questions & Answers

  Visual basics program to calculate and display charges

Assume that no car parks for longer than 24 hours at a time. Write a visual basics program that calculates and displays the parking charges for each customer who parked a car in this garage.

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

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

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

  Visual basic program to accept numeral values of any unit

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

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

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

  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.

  Permit a user to manipulate database using vb

Use VB to permit a user to manipulate database according to following: Permit the user to scroll through list of students while showing student ID, student name, advisor name, and department.

  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.

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