PHP Compiler
<!DOCTYPE html> <html> <body> <?php $start = 10; $end = 25; echo "Even numbers between $start and $end: <br>"; for($start=$start; $start<=$end; $start++) { if($start % 2 == 0) echo "$start "; } ?> </body> </html>
OUTPUT
Even numbers between 10 and 25:
10 12 14 16 18 20 22 24
×

Save as Private