Create each option as a sperate function and call them

Assignment Help Computer Engineering
Reference no: EM132087283

Option 1 (Display Seat Chart): The program calls a function that displays the seat chart from the array seatChart using the format shown in page 1.

Option 2 (Reserve Seat): The program calls a function that prompts users for the seat desired as a string (e.g., 3A, 7D, etc.) and then determines the row number and column number of the array element that needs to be accessed. If the seat is available, it reserves it by assigning 'X' to the seat and displays a message stating that the seat was reserved. Otherwise it displays a message stating that the seat is not available.

Option 3 (Cancel Reservation): The program calls a function that prompts users for the seat to be canceled as a string (e.g., 3A, 7D, etc.) and then determines the row number and column number of the array element that needs to be accessed. If the seat is available, the program displays an error message stating that the seat to be canceled has not been initially reserved. Otherwise it makes the seat available and displays a message stating that the seat reservation has been cancelled.

PLEASE USE C++ LANGUAGE!

create each option as a sperate function and call them in a switch statement in the main

- the file being used is name chartIn.txt and the information stored in it is:

1         A X C D

2         A B C D

3         A B C D

4         A B C D

5         A X C D

6         A B C D

7         A B C D

8         A B C D

9         A B X D

10     A X X D

Reference no: EM132087283

Questions Cloud

Calculate the amount concentration of the original silver : Based on your observations, what substance is the excess reagent? Identify the evidence that supports this.
Determine the unknown voltages for each circuit : Determine the unknown voltages for each circuit - calculate the voltage gain for each stage and the overall voltage gain. Assume the op-amps to be ideal
Calculate the mole fraction of bromine in water : Calculate the mole fraction of bromine in water in both solutions below, and the molality of bromine in both solutions presuming that the density of water.
What is the symbol or name being defined here : In order to protect a library's interface file from being included multiple times, we always put in three special preprocessor directives.
Create each option as a sperate function and call them : The program calls a function that displays the seat chart from the array seatChart using the format shown in page 1.
Calculate the thickness of the aluminum foil : A piece of foil is 0.0150 cm thick. Calculate the thickness of the aluminum foil in terms of the number of aluminum ATOMS.
What do you think will happen to the balloon attached : What do you think will happen when baking soda and vinegar come in contact (what will be produced)?
Does the foam have a higher or lower molecular weight : Discuss how the thickness (viscosity) of ethanol or aqueous film forming foams can be changed.
Develop expertise necessary to formulate practical questions : BUS707 - Applied Business Research Assessment - Research Plan, Short Response, KOI King's Own Institute, Australia. Identify relevant sub-problems

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