I need to find the Minimum and Maximum number that was randomly generated using the code below. Any tips please on what function to use.
<?php
for ($i=0;$i<20;$i++) {
$currentRandomNumber = rand(1,50);
echo $currentRandomNumber . ' ';
}
?>
Aucun commentaire:
Enregistrer un commentaire