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

  Compare how the news reports are presented

Compare how the news reports are presented. Discuss how your views of this issue is influenced by American or by others' views.

  Write a program that accepts data continuously

Write a program that accepts data continuously

  In what directory are style sheets stored

Describe the command that is used to add a column to a table of a database. In what directory are style sheets stored?

  Write a wrapper function that takes three arguments

Write a wrapper function, named b­expand, that takes three arguments: two variable names (such as x and y), and a number n.

  Write a main program that creates a forward linked list

Write a main program that creates a forward linked list of at least 10elements, where each element holds a stock, without keeping track of list length.

  Compute the average number of key comparisons needed

Also compute the average number of key comparisons needed for a successful search in each of the four resulting trees.

  How do you trace the read efficiency records

The read efficiency is the percentage of times a data page is found in the data cache memory (or buffer pool) without requiring a physical I/O.

  Why the lowest possible temperature is absolute zero

Accept inputs from user: a beginning temperature, an ending temperature, and an increment value (all Fahrenheit).

  Examine risks associated with using public wireless access

"magz64"- Examine at least three risks associated with using public wireless access points to gain access to a corporate network. Provide one real-world example that demonstrates the severity of the identified risks.

  Analyzing system capacity and performance

Analyzing system capacity and performance requires knowledge of how to use the Windows Server® 2016 capacity analysis tools.

  Identify a networked technology you use at home

Identify a networked technology you use at home, at work, or as a personal convenience. Research and identify three potential threats to endpoint security.

  Write a mips assembly program that will call the function

Write a MIPS assembly program that will call the function with some initial value of n and store the result in a suitable memory location, labeled as result.

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