The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
I have uplaoded a document for a small project in C++. Â Can you please give me the work out formulae based for the small project and also the diagram. Â Please help me.
Â
Â
CPP-Project #8:Using C++C&M Airlines (Charlie and Mable) operates a small commuter airline with a singleplane that seats 12 passengers. The plane makes one slight per day. Write aseating reservation program as described.The passenger information is stored in an array of 12 structures. This arrayshould be maintained in the main() function.Each structure holds the seat ID, a marker that indicates if the seat has been assigned,a passenger first name and a passenger last name. The program repeatedly displaysthe following menu until Quit is selected.Choose a function: a.) Show number of emptyseats b.) Show list of empty seats c.)Assign a seatd.) Delee a seat assignmente.) QuitChoices.c.) and d.) will require additional input from the user; Passenger namefor both, and seatnumber forc.) Checks should be made so that a passenger can't be assigned to aseat that is already taken.A separate functionshould be provided to accomplish each of the choices a.), b.), c.),and d.)
Attachments: