<?php for ($i=0; $i<10; $i++){ if ($i %2==0) { echo "$i is even"; } else { echo "$i is odd"; } if (sqrt($i) == floor(sqrt($i))) echo " and is a perfect square"; echo ".<br />\n"; }
You have javascript disabled. You will not be able to edit any code.