Solved by verified expert:Fitbit is a company that builds wearable technology devices that track various activities. The devices have sensors that measure number of steps and distance walked, heart rate, sleep quality, floors climbed, and calories burned. In this assignment, you will analyze data that was generated from a real Fitbit device. The data is stored in a comma-separated values (.csv) file that you will find in the attachment. A .csv file stores data as plaintext in tabular form. Each row in the file is considered a record. Each record consists of fields separated by commas. In particular, you will analyze 24 hours of data. Each record in the “FitbitData.csv” represents one minute of data and consists of seven fields. These include the following: 1.Minute 2.Calories 3.Distance (in miles) 4.Floors 5.Heartrate 6.Steps 7.Sleep level What data structures are required? In this assignment, you must define a C struct to store each of the Fitbit data fields as follows: typedef struct fitbit { char minute[9]; double calories; double distance; unsigned int floors; unsigned int heartRate; unsigned int steps; Sleep sleepLevel; } FitbitData; The type Sleep is enumerated and must be defined as follows: typedef enum sleep { NONE = 0, ASLEEP = 1, AWAKE = 2, REALLYAWAKE = 3 } Sleep; You must also define an array of FitbitData that can store 24 hours of minute data. Hence, you must declare an array of size 1440. You have the freedom to decide on other data structures and variables that you need for the assignment. What are the other requirements? This program does not require any user input! However, you will need to display some results to the screen! -You must open “FitbitData.csv” for mode read; check for success -You must read each record in the file as a string, one line at a time using fgets() -You must parse each record using strtok() from