Question: Given integer numbers, draw a horizontal histogram satisfying the following requirements: 1. Input the integer from keyboard 2. Repeat until the integer is between

" Given integer numbers, draw a horizontal histogram satisfying the following requirements: 1. Input the integer from keyboard 2. Repeat until the integer is between O and 10 3. Use integer array 4. The number of integers: 5 Example Output) %8s [Histogram] 10: 9 8 7 6 5.964s* %4s 964s * 964s 964s * 4 3 2 1 Example Input) Input number #1 (0-10) 5 Input number #2 (0-10) : -1 Input number #2 (0-10) Input number #3 (0-10) 11 Input number #3 (0-10) 10 Input number #4 (0-10) Input number #5 (0-10) 8 %5s
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
