Create a seating reservation program for podunk airlines

Assignment Help Computer Engineering
Reference no: EM132137124

Structures

Write the Program in C++ only.

Task: Create a seating reservation program for Podunk Airlines. The air fleet consists of a single plane with a seating capacity of 12. The plane makes one flight daily. Your program will maintain the reservation information for a single day.

Processing: Use a 12-element array of structures to store information about the 12-seat plane. The structures will include this information:

seat identification number (an integer from 1 to 12)

a Boolean variable that indicates whether or not the seat is currently assigned

the first name of the seat holder

the last name of the seat holder

The program should be user-friendly, providing a menu of these functions:

a). show the count of empty seats

b). show a list of all seats in numeric order, including assigned passenger names

c). show an alphabetical list of passengers and their seat numbers; don't include empty seats

d). assign a passenger to a seat

e). cancel a seat reservation

f). quit

After the completion of a menu task other than f, the program should clear the screen and redisplay the menu for the user. When searching for a name or when sorting names, note that passengers may have the same last name; however, we will assume for our program that two passengers don't have identical first and last names.

Input: Choice d in the menu will require the user to input the name of a passenger and a desired seat number. Choice e should permit the user to provide a passenger's name or a seat number.

Output: All output may be directed to the screen.

Reference no: EM132137124

Questions Cloud

What is the risk-free rate of return : If a stock has a beta coefficient of .8 and a required rate of return equal to 11%, while the market return is equal to 12.5%, what is the risk-free rate of ret
Required rate of return on the less risky stock : By how much does the required rate of return on the riskier stock exceed the required rate of return on the less risky stock.
What would be some of the risks associated : In your role as a project manager at an IT company, you are tasked with shortening the critical path of the project and saving money. Is this possible?
What is inventory : What is inventory and why is it important for your business, investors or potential lenders?
Create a seating reservation program for podunk airlines : Create a seating reservation program for Podunk Airlines. The air fleet consists of a single plane with a seating capacity of 12.
How many yen do you need to buy if the exchange : How to find the amount of US dollars needed to purchase 1 swiss franc if the exchange rate is 0.9897 Swiss francs per U.S. dollar
Performance and financial position : How would you evaluate flash memory's performance and financial position?
Create propositional sentences based upon each suspects : Create Propositional Sentences based upon each suspects' statements Followed by the Truth Table.
What is the total cash outflow for buying : What is the total cash outflow for buying and for leasing a motor vehicle with a cash price of $24,000?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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