Internal Code: D_BJ_DFBF_CJB
Computer Science Programming Assessment Answer
TASK:
Description
Data Engineers regularly collect, process and store data. In this task, you will develop a deeper understanding of how C programming language can be used for collecting, processing and storing data. In this assignment you get the
opportunity to build an interactive program that can manage the list of flights departing Sydney Airport.
The list is stored as an array of flight_t type structures flight_t flights [MAX_NUM_FLIGHTS]; The flight_t is a structure typedef for struct flight. The struct flight contains the following fields
? flightcode - array of MAX_FLIGHTCODE_LEN+1 chars (string)
? departure_dt - a structure of date_time_t type as defined below
? arrival_city - array of MAX_CITYCODE_LEN+1 chars (string)
? arrival_dt - a structure of date_time_t type as defined below
Note that we now have a struct nested within a struct. The date_time_t is a structure typedef for struct date_time. The struct date_time contains the following fields,
? month - integer between 1 and 12 (inclusive)
? day - integer between 1 and 31 (inclusive)
? hour - integer between 0 and 23 (inclusive)
? minute - integer between 0 and 59 (inclusive)
Your program interacts with the nested struct array in your memory (RAM) and simple database file in your hard disk. It should provide the following features:
1. add a flight
Add a new flight to the flights through the terminal. You should collect the input by asking multiple questions from the user.
2. display all flights to a destination
3. save the flights to the database file
4. load the flights from the database file
5. exit the program
This C Programming Assignment has been solved by our Computer Science experts at onlineassignmentbank. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.