Develop a small airline reservation system

Assignment Help Basic Computer Science
Reference no: EM131782559

Question: Develop a small airline reservation system. Define a class Flight Record with the following components:

a. Flight number (including airline code)

b. City of departure

c. Destination

d. Date and time of departure

e. Date and time of arrival

f. Number of first-class seats still available

g. Number of first-class seats sold

h. Number of coach seats still available

i. Number of coach seats sold Define a class Flight Database that includes a component that is an array of Flight Record objects. The database of flight information should be kept in a file. Your program should define member functions make - Reservation, cancel Reservation, and find Flight Data for class Flight Database. Functions make Reservation and cancel Reservation should take data interactively from the user and modify the Flight Database object accordingly. Function f and Flight Data should also take data in interactively and should display the entire Flight Record object of the flight desired. Your program should also provide a facility for creating a Flight Database object from the data in a file and should overload the « and » operators for class Flight Record.

Reference no: EM131782559

Questions Cloud

Find the volume of the largest box that can be made : An open box is to be made from a 10in by 16in rectangular piece of material by cutting equal squares from the corners and turning up the sides.
Find the length and width of a rectangle : Find the length and width of a rectangle that has an area of 225 square meters and a minimum perimeter.
Prepare a retained earning statement : Use the following accounts and information to prepare, in good form, an income statement, a retained earning statement, and a balance sheet
Prepared a company check to replenish the fund : Prepared a company check to replenish the fund for the following expenditures made since
Develop a small airline reservation system : Develop a small airline reservation system. Define a class Flight Record with the following components.
Write the equations of motion for the system : Write the equations of motion for the system shown in Figure, and determine its natural frequencies and mode shapes.
Who were aligned with the organizations vision and goals : Describe how Maersk has recruited and selected new employees who were aligned with the organization's vision and goals over the years.
Display a string one character-at-a-time forward : Determine if two strings match (without using comparison operators or the cmp() built-in function) by scanning each string.
Calculate the amount of money the pair borrowed : Calculate the amount of money the pair borrowed and the amount of interest will they pay over the life of the loan.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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