Question: In C language (Not C++) : Write a program that reads student scores from a file. The file is formatted as follows: Smith, John, 84.7
In C language (Not C++) : Write a program that reads student scores from a file. The file is formatted as follows: Smith, John, 84.7 Report the number of A, B, C,D, and F's and the class average.
Bonus: output to a .txt file instead of the screen.
(the file provided was as follows:)
File name: input.txt
Smith, John, 84.7
Parker, Peter, 96.4
Rogers, Steve, 78.3
Brock, Eddie, 81.0
Odinson, Thor, 45.9
Wayne, Bruce, 92.7
Kent, Clark, 67.9
Prince, Diana, 89.9
Allen, Barry, 93.8
Stark, Tony, 100.0
Banner, Bruce, 96.8
Xavier, Charles, 101.1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
