Question: Instructions: On a roulette wheel, the pockets are numbered from 0 to 3 6 . The colors of the pockets are as follows: Pocket 0
Instructions:
On a roulette wheel, the pockets are numbered from to The colors of the pockets are as follows:
Pocket is green.
For pockets through the oddnumbered pockets are red and the evennumbered pockets are black.
For pockets through the oddnumbered pockets are black and the evennumbered pockets are red.
For pockets through the oddnumbered pockets are red and the evennumbered pockets are black.
For pockets through the oddnumbered pockets are black and the evennumbered pockets are red.
Write a program that picks a random number between to for the pocket number. Then, displays the number and whether the pocket is green, red, or black.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
