PHP Compiler
<!DOCTYPE html> <html> <body> <?php $start = 10; $end = 25; echo "Odd numbers between $start and $end: <br>"; for($start=$start; $start<=$end; $start++) { if($start % 2 != 0) echo "$start "; } ?> </body> </html>
OUTPUT
Odd numbers between 10 and 25:
11 13 15 17 19 21 23 25
×

Save as Private