The functionmath.random(1,6)will return a random number between 1 and 6. Write some code that uses this function twice, to simulate the rolling of two dice. What is the probability that a two-dice roll will result in the same number showing on both dice?

See your results here: