0

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

19th Sep 2018, 11:19 AM
Syed Suhail
Syed Suhail - avatar
1 Antwort
+ 1
Please provide a link to your Code Playground code so we can identify key information you are not currently providing (e.g. which language to use, etc.) and better help you troubleshoot the specific issues you are running into. The Code Playground should be relatively easy to find in the website version of SoloLearn, but if you are in the app version, it can be accessed via the curly braces, green circle with plus sign to add a new project, then select the project type. Looking forward.
19th Sep 2018, 12:14 PM
Janning⭐
Janning⭐ - avatar