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

14 lines
103 B
PHP
Raw Permalink Normal View History

2019-11-18 14:44:36 +01:00
<?php
$num=10;
if($num%2==0)
{
echo "Even number";
}
else
{
echo "Odd number";
}
?>