(Game: bean-machine animation) Write a program that animates the bean machine introduced in Programming Exercise The animation terminates after ten balls are dropped, as shown in Figure 1b and c.
FIGURE 1 (a) Exercise allows the user to start and stop a clock. (b and c) The balls are dropped into the bean machine.

We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.