Create a program in C showing the time difference between accessing data in a sequential file and accessing data in a random-access file

Create a program in C showing the time difference between accessing data in a sequential file and accessing data in a random-access file

Create a program in C showing the time difference between accessing data in a sequential file and accessing data in a random-access file.
1) Use the information of minutiae (with random data) (source code and explanation in the details file).
2) Create millions of records.
3) Compute execution time using the proper instructions in C.
Create a report showing the time difference of writing millions of records, reading all the records, and accessing to 10,000 random records.