Enter the roll.html text from Figure 13.1 into a new Web page. After loading this page, click

Question:

Enter the roll.html text from Figure 13.1 into a new Web page. After loading this page, click the button to verify that the code repeatedly simulates and displays dice rolls until doubles are obtained.
Perform repeated simulations using your page. What was your shortest sequence of rolls that ended in doubles? What was your longest sequence?
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: