programming-examples/php/_Basics/Even Odd number program in PHP.php
2019-11-15 12:59:38 +01:00

14 lines
103 B
PHP

<?php
$num=10;
if($num%2==0)
{
echo "Even number";
}
else
{
echo "Odd number";
}
?>