Hw many games are won on the first roll second roll


Question: (Game of Craps) Write a program that runs 1000 games of craps (without human intervention) and answers each of the following questions:

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?

d) What's the average length of a game of craps?

e) Do the chances of winning improve with the length of the game?

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Hw many games are won on the first roll second roll
Reference No:- TGS02404105

Now Priced at $15 (50% Discount)

Recommended (93%)

Rated (4.5/5)