Question
Write a program that creates a histogram that allows you to visually inspect the score distribution of a set of students. The program should prompt
Write a program that creates a histogram that allows you to visually inspect the score distribution of a set of students. The program should prompt the user to enter an arbitrary number of integers that are in the range 0 to 100 inclusive; then produce a chart similar to the one below that indicates how many students scored in the range 91 to 100, 81 to 90 and so on. Print one hash for each student in that range.
Write a program that creates a histogram that allows you to visually inspect the score distribution of a set of students. The program should prompt the user to enter an arbitrary number of integers that are in the range 0 to 100 inclusive; then produce a chart similar to the one below that indicates how many students scored in the range 91 to 100, 81 to 90 and so on. Print one hash for each student in that range.
CHART
91 - 100 | ### 81 - 90 | ####### 71 - 80 | 61 - 70 | ########## 51 - 60 | ##### 41 - 50 | ## 31 - 40 | # 21 - 30 | ## 11 - 20 | 0 - 10 |
CODE REQUIRED IN JAVA
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started