Question: Please include comments so I can follow along! Part 1 Write a program that creates a histogram of random numbers from 0 to 9. Initially
Part 1 Write a program that creates a histogram of random numbers from 0 to 9. Initially generate 100 random numbers Once your program counts the number of random numbers for each number between 0 and 9, print a histogram that shows a graph of how many numbers where generated by printing a row of *'s one for each time that number was selected. Define a method to print the histogram when passed the array Example: say the value of int counts 12, 7, 14, 11, 13, 9, 12, 11, 8) 8
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
