Friday 28 July 2017

Program to find year is LEAP year or not.


<?php
    $year=2017;
    if($year%4==0)
          {
            $leap="It is a leap year";
          }
      else
         {
           $leap="It is not a leap year";
        }
 ?>

No comments:

Post a Comment