Use the prototype function shown in question,
Write comments and attach screenshots.
Try to do asap
The language used here is C++
Develop a C program that processes a file called “grades.txt” containing a list of student grades and outputs the minimum, maximum, and average grade contained within that file. Your program should make use of the following function prototype:
void grades(FILE *inp, int *p_min, int *p_max, float *p_ave);
Sample Output: Input File: 2 3 9 10 15 17 25 30 40 45 78 81 90
Output: Min: 2, Max: 90, Ave: 34.23
Extracted text: Computer Science The language used here is C++ Develop a C program that processes a file called "grades.txt" containing a list of student grades and outputs the minimum, maximum, and average grade contained within that file. Your program should make use of the following function prototype: void grades(FILE *inp, int *p_min, int *p_max, float *p_ave); Sample Output: Input File: 2 3 9 10 15 17 25 30 40 45 78 81 90 Output: Min: 2, Max: 90, Ave: 34.23