Answered You can hire a professional tutor to get the answer.
In this assignment one will analyze and depict the flights that exist between different airports. This will be accomplish this by loading a flights
In this assignment one will analyze and depict the flights that exist between different airports. This will be accomplish this by loading a flights information from a file, storing it in an appropriate data structure, and then analyzing the results. The file provided will be named "Flight-Information-DDMMYYYY.dat", where DD, MM, and YYYY are the day, month, and year, in numerical format respectively. For example, if requested the flight information for the due date of this assignment, the user is expected to provide YYYY=2018, MM=06, and DD=26. The files will contain a collection of English phrases, one per line, in the following format (flight number is unique for each flight): Flight # from to e.g., Flight #122 from Vancouver to Montreal Flight #344 from Ottawa to Montreal Flight #566 from Calgary to Vancouver Flight #788 from Calgary to Seattle Flight #900 from Edmonton to Calgary Flight #800 from Edmonton to Vancouver After the file has been read, you must print a summary to the user that states, for each departure-city, the list of cities that can be reached by an outgoing flight from this departure-city. For example, the output corresponding to the file above should be: There is 1 flight from Vancouver, to Montreal. There are 2 flights from Calgary, to Vancouver, and Seattle. There are 2 flights from Edmonton, to Calgary and Vancouver. There is 1 flight from Ottawa, to Montreal.