Question: Introduction Hack session activities are small weekly programming assignments intended to get you started on full programming assignments. Collaboration is allowed and, in fact, highly
Introduction Hack session activities are small weekly programming assignments intended to get you started on full programming assignments. Collaboration is allowed and, in fact, highly encouraged. You may start on the activity before your hack session, but during the hack session you must either be actively working on this activity or helping others work on the activity. You are graded using the same rubric as assignments so documentation, style, design and correctness are all important. This activity is due at 23:59:59 on the Friday in the week in which it is assigned according to the CSE system clock. Problem Statement You wil use the implementation of your Airport data model from a previous hack to develop several reports that will require you to sort and search (a subset of) the Interna- tional Civil Aviation Organization database for particular airports We have provided an updated header file, airport.h with the specific functions that you need to implement. First, you'l need to implement 8 different comparator functions for your Airport structure. The details of the expected orders are documented in the header file. The file is available directly here Second, you'll need to write code that produces several reports. All your code needs to be placed into the following function: void generateReports (Airport airports, int n); which takes an array of Airport structures and produces the following reports which should be output to the standard output . To help you troubleshoot, you should print out all the structures in the original Introduction Hack session activities are small weekly programming assignments intended to get you started on full programming assignments. Collaboration is allowed and, in fact, highly encouraged. You may start on the activity before your hack session, but during the hack session you must either be actively working on this activity or helping others work on the activity. You are graded using the same rubric as assignments so documentation, style, design and correctness are all important. This activity is due at 23:59:59 on the Friday in the week in which it is assigned according to the CSE system clock. Problem Statement You wil use the implementation of your Airport data model from a previous hack to develop several reports that will require you to sort and search (a subset of) the Interna- tional Civil Aviation Organization database for particular airports We have provided an updated header file, airport.h with the specific functions that you need to implement. First, you'l need to implement 8 different comparator functions for your Airport structure. The details of the expected orders are documented in the header file. The file is available directly here Second, you'll need to write code that produces several reports. All your code needs to be placed into the following function: void generateReports (Airport airports, int n); which takes an array of Airport structures and produces the following reports which should be output to the standard output . To help you troubleshoot, you should print out all the structures in the original
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
