Hi, all. Thie following is an additional step in the program I previously mentioned [and, by the way, thanks for the responses; most helpful!] The final part of this project is to create [I believe it is called a histogram] of the grade frequency distribution. The program asks for grades of 7 students [using arrays] and inserting a midterm, final, project, average and end grade [converting numeric average to letter grade.] The frequency chart will look like the following. Any ideas on coding this.
Grade Frequency Distribution:
A B C D F
__________________
2 2 1 1 1
meaning that the total students [7] received the following grades.
That, of course, is the problem. I would imagine I would need to total the grades [how many A's, how many B's, etc.] and have it print in a horizontal line.
I have an example, but not certain this works for this sort of problem: