One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
//do-while loop: | |
$nthCount = 1; | |
do { | |
$roll = rand(1, 6); | |
echo "<p>At the #$nthCount throw, die displays $roll</p>"; | |
echo "<p>-----------------------------------</p>"; | |
$nthCount += 1; | |
} while ($roll != 6); |