programming-examples/php/_Basics/Even Odd number program in PHP.php

14 lines
103 B
PHP
Raw Normal View History

2019-11-15 12:59:38 +01:00
<?php
$num=10;
if($num%2==0)
{
echo "Even number";
}
else
{
echo "Odd number";
}
?>