Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write the program in c ++ CSCI-133 Hwkl Tanney Airlines.docx Assigned: Due: You are to write a program passenger res You are to use a

Write the program in c ++ image text in transcribed
CSCI-133 Hwkl Tanney Airlines.docx Assigned: Due: You are to write a program passenger res You are to use a class with an array of 10 structures in the private portion of the class. You are to create an instance of this array of structures in the public 133 L1 section 3.4 should help. Remember that only a member function can access data members in the private portion of a class. m to handle passenger reseryations on Tanney Airlines portion of the class Your top level menu is to read as (E)nter the passenger information or ore tit utC (DJisplay the passenger informationcountin co (Quit the program To enter a single passenger info, the user will press the E key (either upper or lower case) You will only enter one passenger information for each E menu option selection and then the program will redisplay this top level menu as shown above. You can clear the screen with the system call systemCT withoutTheoutsidequotes. You are not to requirethe user to enter all 0 passengers at one tihe. The Display menu selection will only display the passenger data that was entered for the number of passengers that were entered. The program will not display all 10 passengers unless all 10 passengers had their data entered into the program. The display format will be FName: actual data values (e-g. FName: Eric) LName: actual data values (eg, LName: Shulman) FltNum: actual data values (eg. Flt Num: 123)sen Priority: actual string or enumerated type (eg Priori t ty: Gold, etc) The structure will have the following information First Name-Use FName identifier for the variable Last Name - Use the LName identifier for the variable Flight Number - Use the identifier FltNum for the variable Boarding Priority-Use the identifier Priority Use a submenu for the Boarding Priority (P)latiniunm (G)old (S)ilver (L)ead You can assign a numeric value for each entry but the display will display the entire text as in Gold, Silver, etc, You can use an enumerated typ if you wish. Remember to only use one.cpp file and one h file and follow the class coding standard and requirements in the course syllabus (Especially the rules on initialization of variables and the use of guarding in the .H file). Hint: Guarding iseither #prag once orthe#if deflogi , butnot both. gr ard Class

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

OCA Oracle Database SQL Exam Guide Exam 1Z0-071

Authors: Steve O'Hearn

1st Edition

1259585492, 978-1259585494

More Books

Students also viewed these Databases questions

Question

Define Administration and Management

Answered: 1 week ago

Question

Define organisational structure

Answered: 1 week ago

Question

Define line and staff authority

Answered: 1 week ago

Question

Define the process of communication

Answered: 1 week ago

Question

Explain the importance of effective communication

Answered: 1 week ago

Question

Illustrate the compensation structure.

Answered: 1 week ago

Question

Describe the steps in an effective performance management system.

Answered: 1 week ago

Question

Define a performance management system.

Answered: 1 week ago