Question: Tumbling Dice Program - PHP/HTML/CSS Question: Roll two dice 1,000 times. Create a program that simulates the rolling of dice 500 times. Record the result
Tumbling Dice Program - PHP/HTML/CSS
Question: Roll two dice 1,000 times. Create a program that simulates the rolling of dice 500 times. Record the result of each roll that equals 7 (e.g. 1+6=7, 2+5=7, 3+4=7) and display totals for the total number of rolls that equal 7.
This needs to have an html page, php page, and css page
The result, after executing the program, should look similar to:
"The number of sevens (7) that occured in 500 dice rolls was: 165"
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
