Question
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started