in c++, write a class named Airline with the following properties and functionality. * Airline-owned fleet (variable that holds the number of aircraft in the fleet named Fleet) * A structure that holds all airline flights (a suitable container must be used from STL) * A structure that holds flights and reservations (an appropriate container must be used from STL) O reservations must be questionable with flight numbers * Creating a flight reservation * Change your flight reservation * Cancel a flight reservation * Total number of passengers per year * Total number of flights per year * Annual total flight hours • Annual total travelled the road * Adding new flights O flight numbers must be a randomly generated 4-digit integer these flight numbers are unique to each flight, two flights cannot have the same number
in c++, write a class named Airline with the following properties and functionality.
* Airline-owned fleet (variable that holds the number of aircraft in the fleet named Fleet)
* A structure that holds all airline flights (a suitable container must be used from STL)
* A structure that holds flights and reservations (an appropriate container must be used from STL)
O reservations must be questionable with flight numbers
* Creating a flight reservation
* Change your flight reservation
* Cancel a flight reservation
* Total number of passengers per year
* Total number of flights per year
* Annual total flight hours
• Annual total travelled the road
* Adding new flights
O flight numbers must be a randomly generated 4-digit integer
these flight numbers are unique to each flight, two flights cannot have the same number
Trending now
This is a popular solution!
Step by step
Solved in 2 steps