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

Save as Private