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”...


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


Computer Science<br>The language used here is C++<br>Develop a C program that processes a file called<br>

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

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here