Question: Simulate the rolling of dice: The program should generate two random numbers in the range of 1 through 6 and display them. The program keeps
Simulate the rolling of dice: The program should generate two random numbers in the range of 1 through 6 and display them. The program keeps going until two dice values are the same. Once the two values are the same, display bingo Let the program prompt you to hit enter to roll the dice every time. Use break statement in your program. The resulting program should look like: hit Enter to roll the dice their values are: 4 6 hit Enter to roll the dice their values are: 4 2 hit Enter to roll the dice their values are: 3 3 bingo.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
