programming-examples/php/Basics/Even Odd number program in PHP.php
2019-11-18 14:44:36 +01:00

14 lines
103 B
PHP

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