(Game of Craps) Write an application that runs 1,000,000 games of craps (Fig. 3) and answers the following questions:
Fig. 3 Craps class simulates the dice game craps



a) How many games are won on the first roll, second roll, ..., twentieth roll and after the twentieth roll?
b) How many games are lost on the first roll, second roll, ., twentieth roll and after the twentieth roll?
c) What are the chances of winning at craps? [Note: You should discover that craps is one of the fairest casino games. What do you suppose this means?]
d) What is the average length of a game of craps?
e) Do the chances of winning improve with the length of the game?
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.