Please can anyone tell me how to program this.
Specification: Consider an input file “input.txt” having the minimum of 1000 records of students (You shall create Synthetic or Artificial data accordingly), where in, each student record has the following fields: -std_id (Character(20)) -std_name(Character(30)) -std_gender(Character(1)) -std_marks[5] (Integer Array storing marks scored by a student in 5 subjects) Tasks to be performed: You are required to perform the following operations in your program: 1. Read the contents of the input file “input.txt” and store the student records in an array of structures with all the necessary fields with respect to their data types. 2. The student scoring Less Than 35 is to be considered as FAIL. 3. Calculate the average Marks scored by each student and store them in the student record as a separate field. 4. Sort the student records in the Non-ascending order with respect to the average Marks scored by each student using Quick Sort. 5. Store results obtained in Step No. 4 in an output file “output.txt