+ 3
a number N is passed as input . Print the multiples of 5 from 1 to N (inclusive N) seperated by a space
3 Antworten
+ 3
Put the desired language in tags please!
+ 1
<?php
function counter($n)
{
$i = 1;
do {
echo " 5 * $i =". 5*$i ."<br/>";
$i++;
} while($i <= $n);
}
counter(10);
?>