In gambling circles, the combination of a 3 and 4 (in either order) is known as a

Question:

In gambling circles, the combination of a 3 and 4 (in either order) is known as a natural seven. Add an additional text span to your stats.html page that keeps track of the number of natural sevens that are rolled. The new SPAN element should appear below the existing ones, and should be preceded by an appropriate label. Within the RollDice function, add code that increments the natural sevens counter in the text span. This counter should also be reset to 0 when the user clicks on the reset button (from Exercise 11.7).

Once you have done this, use your page to simulate repeated dice rolls. How frequently would you expect to obtain a natural seven? Do the results of your repeated simulations match your expectations?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: