Question: Java language and please include the screenshot of the output ory Bookmarks Tools Window Help Home | Hacker101 https://blackboard stockt Unit II Practical Attached Files:

Java language and please include the screenshot of the output  Java language and please include the screenshot of the output ory

ory Bookmarks Tools Window Help Home | Hacker101 https://blackboard stockt Unit II Practical Attached Files: BallToss java (955 8) pps/blackboard/content/listCo asearch For this exercise, assume 100 balls are thrown and each ball lands in one of the 10 cups at random. Cups are numbered from 0-9. Note: each execution of the program should yield different results. At the end of the simulation, report the contents of each cup (the number of balls in each), the cup with the most balls (max), the cup with the least balls (min), and the range (difference between max and min quantities) Your program output should match the following format. Ordered list of quantities (starting from cup 0, through cup 9). 2. 1. Max quantity observed and the cup it was in. 3. Min quantity observed and the cup it was in. 4. Range of observed quantities Example Output [8, 5, 8, 11, 13, 16, 10, 12, 11, 6] MAX: 16 found in cup 5 MIN: 5 found in cup 1 Range: 11 6 MacBook Air

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!