[SOLVED] CSE270E-Javascript program 2

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon JavascriptProgram2-wqcjnl.zip (1.1 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
Rate this product
  1. Prompt the user for the number of times to roll a pair of dice (use prompt )
  2. Roll two die that many times, keeping track of the frequency the total of the two die rolled (2 .. 12) (use Math.random and Math.floor)
  3. Construct and display the frequency of each roll somewhat as shown below. (eg: 2 was rolled 22 times, 3 was rolled 44 times)

Number  Cnt

  • 22
  • 44 4 109

…..

Create the file random.html inside your UID-207e-www working directory.

Make sure to push the code to your git repository

  • JavascriptProgram2-wqcjnl.zip