A small airline has just purchased a computer for its new

Assignment Help Visual Basic Programming
Reference no: EM13371235

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: EM13371235

Questions Cloud

Question 1discussion amp backgroundplease read another : question 1discussion amp backgroundplease read another attached file the article i wrote for reference to answer the
Pits methodology helping support the change process by : pits methodology helping support the change process by providing tools to analyze waste. these tools help jaguar
Portrays a typical state court systemthe highest court in a : portrays a typical state court system.the highest court in a state court system it hears appeals from intermediate
Why is the theory of charisma described as a double-edge : why is the theory of charisma described as a double-edge sword? please identify a leader that used charisma in a
A small airline has just purchased a computer for its new : a small airline has just purchased a computer for its new automated reservations system. youve been asked to develop
Miles per gallon applicationdrivers are concerned with the : miles per gallon applicationdrivers are concerned with the mileage obtained by their automobiles. one driver has kept
Gas pumpa gas pump calculates the cost of gas at a local : gas pumpa gas pump calculates the cost of gas at a local gas station. the station charges 2.69 per gallon for regular
Arithmetic calculator applicationwrite an application that : arithmetic calculator applicationwrite an application that allows the user to enter a series of numbers and manipulate
Question 1yellow communications limited is a public company : question 1yellow communications limited is a public company whose shares are traded on the tsx. the company is a

Reviews

Write a Review

Visual Basic Programming Questions & Answers

  Visual basic application which inputs series of integers

Winner of a sales contest would input number of units sold by each sales person. Write down visual basic application which inputs series of 10 integers and finds and displays largest.

  Create an application user to enter the following employee

Create an application that allows the user to enter the following employee data: First Name, Middle Name, Last Name, Employee Number, Department, Telephone Number, Telephone Extension, and E- mail Address. The valid selections for depart-ment are Acc..

  Simple calculator program

Build a simple calculator program with an Access form that allows a user to enter numbers in two separate text boxes. The Access form should have four separate command buttons for adding, subtracting, multiplying, and dividing. Write code in each com..

  Gas pump - compute the total cost from the number of gallons

Write a program that will help an elementary school student learn multiplication and compute the total cost from the number of gallons entered and the selected grade.

  Designing vb applications across multiple platforms

Technical Project "Designing VB Applications Across Multiple Platforms".

  Write a program that requests the marginal revenue

Write a program that requests the marginal revenue, marginal cost, fixed cost, and number of units of the product produced and sold and then displays one of the following three outputs: Profit, Loss or Break Even.

  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.

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

  Miles per gallon application

All average calculations should produce floating- point results. Avoid division by zero- if the user enters zero for the number of gallons, in-form the user that the input value for gallons must be greater than zero.

  Airline reservations system

Airline Reservations System - A small airline has just purchased a computer for its new automated reservations system.

  Arithmetic calculator application

Arithmetic Calculator Application - Write an application that allows the user to enter a series of numbers and manipulate them.

  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