Question: Output using a dialog box, how many random numbers from 1 to 6have to be generated in order to obtain 3 of the same number

Output using a dialog box, how many random numbers from 1 to 6have to be generated in order to obtain 3 of the same number in arow. For example a random sequence of 3,5,2,2,2 wouldproduce a count 1 answer

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!