Does anybody know how to create a java application producing a
histogram, which allows to visually inspect the frequency
distribution of a set of values. The program should read in an
arbitrary numberof integers that are in the range 1 to 100, then
produce a chart similar to the one below that indicates how many
input values fell in the range 1?0, 11?0, etc. Print one
asterisk
for each value entered.
THIS PROGRAM SHOULD BE DONE USING A TWO DIMENSIONAL ARRAY TO HOLD
THE RANGES ( LOWER VALUES AND UPPER VALUES
{{ 1,11,21 ?} { 10,20,30 …} }.
1 -10 | *****
11 -20 | **
21 -30 | *******************
31 -40 |
41 -50 | ***
51 -60 | ********
61 -70 | **
71 -80 | *****
81 -90 | *******
91 -100 | *********