Generation

generate functionFri, 16 Jun 2023

Realiza un programa que genere un array de 10 numeros randoms con una funcion y mostrarlo

<?php function randoms(){ return rand(1,100); } for($i = 0; $i <= 10; $i++){ $random = randoms(); echo "$random <br>"; } ?>

Want to kickstart your project?Use the new AI Studio to create your code