I need to design an application that makes a histogram that visually shows the distribution of a set of numbers. It has to read in numbers 1-100 and then produce a chart which labels how many of each number is input. So if my input is 1, 23, 17, 13, and 7, then my output would have to be....I dont understand how to implement a loop with an array as well as incorporating everything else, thanks!

1-10 | **

11-19 | ***