fork download
  1. Identify the output of the code *
  2. <?php
  3. $year=2036;
  4. if($year%400==0 || ($year%100!=0 && $year%4==0))
  5. echo $year.' is Leap Year';
  6. else echo $year.' is Not a Leap Year';
  7. ?>
  8.  
  9. Select one:
  10.  
  11. Not a leap year
  12.  
  13.  
  14. 2036 is a Leap year
  15.  
  16.  
  17. None of the above
  18.  
  19.  
  20. Leap year
Success #stdin #stdout 0.02s 26152KB
stdin
Standard input is empty
stdout
 Identify the output of the code *
2036 is Leap Year
Select one:

Not a leap year


2036 is a Leap year


None of the above


Leap year