C + Project 11 Airport Itinerary
Write a program that does monitors landings and takeoffs at a given airport.
The program uses a structure, airport, that consists of the following elements:
- Number of planes that landed in a given month
- Number of planes that took of in a given month
- Greatest number of planes that landed in a single day within the month
- Smallest number of planes that landed in a single day within the month
The program collects the landing and takeoff information for each of the 12 months from the user. Data is stored in an array of these structures.
The program displays the following information:
- Total number of landings per year
- Total number of takeoffs per year
- Average number of landings per month
- Average number of takeoffs per year
- Largest number of planes that landed in a single day (in the entire year) and the month in which it occurred
- Smallest number of planes that landed in a single day (in the entire year) and the month in which it occurred