Fix grammatical error.
This commit is contained in:
parent
9ef5aee315
commit
fd2a7b23de
@ -6,9 +6,12 @@
|
||||
<body>
|
||||
<?php
|
||||
$num_dice = rand(1,10);
|
||||
?>
|
||||
<h1><?= $num_dice ?> dados</h1>
|
||||
<?php
|
||||
|
||||
if ($num_dice == 1)
|
||||
echo "<h1>$num_dice dado</h1>";
|
||||
else
|
||||
echo "<h1>$num_dice dados</h1>";
|
||||
|
||||
$max = -1;
|
||||
for($i = 0; $i < $num_dice; $i++) {
|
||||
$roll = rand(1,6);
|
||||
|
Loading…
Reference in New Issue
Block a user