kotlin (IntelliJ IDEA)
Design and implement an application that creates a histogram that allows you to visually inspect the frequency distribution of a set of values.
- The program should generate 200 random integers in the range 1 through 100 (inclusive) and store these into an array.
- Loop through the array and sort the ranges so that you can then print out the report.
- Produce a chart EXACTLY like the one below that indicates how many values fell in the range 1 to 10, 11 to 20, and so on. Print one asterisk for each value entered. Notice the spacing and alignment for everything.