Question: C Programming Write a program that reads a user's input of test scores and prints out a histogram of the scores. The file format is
C Programming
Write a program that reads a user's input of test scores and prints out a histogram of the scores. The file format is as follows: the first line of the file contains a single positive integer, n, representing the number of test scores. Each of these test scores will be non-negative integer less than or equal to 100. The histogram should have one row on it for each distinct test score in user enters, followed by one star for each test score of that value. For example, if the tests scores the user inputted were 55, 80, 80, 95, 95, 95, and 98, the output to the screen should look like
55*
80**
95***
98*
( Code does not need a text file to pull data but requires the user to input scores in C Programming)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
