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

  Determine the limiting velocity of molecules closer wall

Suppose for a particular liquid and a particular pipe that k = 0.65 and R = 0.5.

  Leading an investigation

Determine which type of system you would prefer to utilize if you were leading an investigation. Additionally, decide whether or not the specifics

  Elements corresponding to the inorder sequence

Suppose that you are given two sequences of elements corresponding to the inorder sequence and the preorder sequence. Prove that it is possible to reconstruct a unique binary tree .

  Disconfirm or test each possibility

Explain your reasoning . Again, do not just come up with one or possible explanations. B. How would you logically disconfirm or test each possibility?

  Explain the different methods of training employees

1. Explain the different methods of training employees. 2. "lifelong learning," how Human resource management contributes to it, and what might be a next step in learning.

  Administrative status and operational status

What is the difference between the administrative status and operational status of a switch?

  Which nameserver was provided?

Which nameserver was provided?

  Annual ocf for the project

Required: If the tax rate is35 percent, what is the annual OCF for the project?

  Liable for security incidents

If software and hardware vendors were held strictly liable for security incidents that were caused by defects in their products

  Layers of the osi model

Explain how information flows through the layers of the OSI model. Use the postal service as the example. Make sure you clearly indicate which layer you are referring to.

  What is intellectual property

What is intellectual property (IP)? Is it afforded the same protection in every country of the world? What laws currently protect it in the United States and Europe?

  What size repayment check

A loan of $9,714 was repaid at the end of 6 months. What size repayment check (principal and interest) was written, if an 11.6% annual rate of interest was charged?

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