- This program simulates n plays of the game of craps, with a bet of one dollar being made for each game. The program prints out the average number of winnings per game.


The source.