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 userspecified number
ofdicewith random values.Prompt for number of dicestart for loopdeclare variables to hold class namescreate random number Use switch statement to assign appropriate number of dotsuse document.write method to create the htmlMETHODS USEDPromptMathfloorMathrandomWritejavascript
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
