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