Write aprogram that plays a game called Roulette. Therules of the game are as fo
ID: 3616819 • Letter: W
Question
Write aprogram that plays a game called Roulette.
Therules of the game are as follows:
3. Our Roulette wheel will have 38slots numbered 1 through 36, 0, and 00
4. 0 and 00 are green, odd numbers arered, and even numbers over 0 are black
5. A player places a bet and the wheelis spun. The player either wins or loses, and then may playagain if they choose
6. If the player bets on a number andit hits, it pays 35 to 1
7. If the player bets red or black andhits, they win the amount bet
8. If a player bets green and hits, itpays 17 to 1
9. A player may bet between 1 and 20chips at a time