Question: Write a script to simulate the rolling of two dice. The script should use Math. random to roll the first die and again to roll

 Write a script to simulate the rolling of two dice. The

Write a script to simulate the rolling of two dice. The script should use Math. random to roll the first die and again to roll the second die. The product of the two values should then be calculated and displayed. Save it as question2.html

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 Databases Questions!