Classroom Lotto - A Simulation
Classroom Lotto is a game where players optionally may pick three numbers from a set of numbers based on the number of students in the class. The numbers must be different. If The player does not pick the numbers, the computer will pick them. If the picked numbers match the generated winning numbers, the player 'wins.' The program also calculates the probability of winning. (Note: there are no actual prizes for this simulation.)
Classroom Lotto
How many students in your class?  
Pick three lucky numbers. They must be from 1 to the number of students in your class - they must be different.
     
If you leave them blank, the computer will choose a number for you.
Your Numbers:
     
Winning Numbers:
     
Odds of winning: 1 in
©Jeff LeMieux, 11/2005

Background: "Lotto: A game where players select a group of numbers from a large set and are awarded prizes based on how many match a second set chosen by a random drawing. In a typical lotto game, a player might be asked to select six numbers from a set of 49. At a predetermined time six numbers are randomly selected by the lottery. The player wins a major prize if all six of their numbers match those chosen in the random drawing. The player wins smaller prizes for matching three, four, or five of the drawn numbers. Examples of lotto games include Powerball and Mega Millions, each played in a number of U.S. jurisdictions, and Canada's Lotto 6/49. Some form of lotto is played in every North American lottery jurisdiction." The North American Association of State and Provincial Lotteries (NASPL) Terms