Question: write a script that can produce a user - specified number of dice with random values. / / Prompt for number of dice / /

write a script that can produce a user-specified number
ofdicewith random values.//Prompt for number of dice//start for loop//declare variables to hold class names//create random number 1-6//Use switch statement to assign appropriate number of dots//use document.write() method to create the htmlMETHODS USEDPrompt()Math.floor()Math.random()Write()javascript

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!