Question: This is for java My assignment is to write a class called Histogram. This program allows you to visually inspect the frequency distribution of a
This is for java
My assignment is to write a class called Histogram. This program allows you to visually inspect the frequency distribution of a set of values. The program should read in an arbitrary number of integers (50 or more) from a text input file (histogram.txt) that are in the range 1 to 100, inclusive. Then produce a chart similar to the one below that indicates how many input values fell in the range 1 to 10, 11 to 20, and so on. Print one asterisk for each value entered. Make sure that you use an array of ten integers (acting as counters) to solve this problem. Then at the end of the program, you just need to print out the number of asterisks for each counter.
For example

1-10 **k 21-30 31-40 41-50 51-60 61-70 71-80 * 81-90 kkk**i 91-100 l
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
