In C Programming: 3. (4pt) Suppose a data file (say student.txt) contains studen
ID: 665555 • Letter: I
Question
In C Programming:
3. (4pt) Suppose a data file (say student.txt) contains student ID followed by nine numbers denoting the grades she/he got for each hw. As we will do in this class, we want to drop the lowest hw grade and compute the average for each student based on the best eight hw grades. For example, here is a sample file containing three students and their 9 hw grades: Write a program that can read the above file and output the student ID, and the average score based on the best eight hw grades into output.txt file. For the above file, your program should generate the following output.txt file: