+
Programming Challenge
n Roulette is a game where a ball is
rolled around a circular track –
eventually the ball will come to rest
in a slot that is labeled with the
numbers 0 through 36
n Gamblers can bet on an individual
number – if they are successful they
win a large prize (36 : 1)
n Write a program that asks the user
for a number between 0 and 36
n Then spin the roulette wheel 1000
times. Find out how many times the
user’s # came up.
n Also tell the user the most frequent
number and the least frequent
number that came up