Problem:
Question: Write an application that runs 1,000,000 games of craps and answers 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 twentienth roll ?
c) What are the chances of winning at craps?
d) What is the average length of a game of craps?
e) Do the chances of winning improve with the length of the game?
Could someone explain this to me?