Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ You will create a number of classes to handle flight tickets. For that purpose, the following classes are needed: Seat Row Seat Number Passenger

C++

You will create a number of classes to handle flight tickets. For that purpose, the following classes are needed:

Seat

Row

Seat Number

Passenger Name

Passenger Last Name

Status (Reserved / Aboard / Available)

Position (Window / Middle / Aisle)

Section (Left / Right)

Class (First Class / Coach)

Plane

Registration

Airline Name

Seat Arrangement 40 rows, 6 seats per row

Flight

Flight Number

Origin City

Destination City

Departure Date

Departure Time

Arrival Date

Arrival Time

Which Plane (Plane object from Plane Class)

Afterwards, you will create a program (inside a main() function), which will do the following:

Instantiate an array of 3 Flights.

Assign information to those three flights make up information of flights departing from the Austin-Bergstrom International Airport.

Instantiate a Plane per Flight, with its corresponding Seat Arrangement of the Seat 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_2

Step: 3

blur-text-image_3

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

Database Concepts

Authors: David Kroenke, David J. Auer

3rd Edition

0131986252, 978-0131986251

More Books

Students also viewed these Databases questions

Question

This controls depth of field ISO Aperture Shutter

Answered: 1 week ago

Question

c. What were you expected to do when you grew up?

Answered: 1 week ago

Question

4. Describe how cultural values influence communication.

Answered: 1 week ago

Question

3. Identify and describe nine cultural value orientations.

Answered: 1 week ago