Question: PLEASE CODE IN C LANGUAGE Dr. Steinberg needs your help! He just finished assigning final letter grades in his Microcomputers Applications course and wants to

PLEASE CODE IN C LANGUAGEPLEASE CODE IN C LANGUAGE Dr. Steinberg needs your help! He just

Dr. Steinberg needs your help! He just finished assigning final letter grades in his Microcomputers Applications course and wants to know the grade distribution. Grade distribution is simply seeing the number of the students that were awarded with the respective letter grade. In his Microcomputers Applications class, Dr. Steinberg doesn't use the plus/minus system. That means the only letter grades are A, B, C, D, and F in the Microcomputer Applications course. The registrar site downloads all the letters as a txt file called grades. txt (already provided in Webcourses). Each line in the file contains a letter grade that was awarded. Write a user defined function called gradeDistribution that takes no parameters. The function opens the text file of letter grades and reads each one line by line. After reading all the grades, the program will display the distribution of each grade assigned. The text file that you will read from must be in the same directory as your C source file. You do not need to worry about invalid input and each letter will be on its own line. Here is the grade distribution. A: 109 B: 102 C: 88 D: 98 F:103 Figure 4: Sample output for problem 3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!