Paste Search Dynamic
Is / not a leap year
  1. <?php
  2. $year=2036;
  3. if($year%400==0 || ($year%100!=0 && $year%4==0))
  4. echo $year.' is Leap Year';
  5. else echo $year.' is Not a Leap Year';
  6. ?>
  7.  
  8.  
Parsed in 0.005 seconds