sub2pewdiepie44
sub2pewdiepie44 sub2pewdiepie44
  • 20-02-2020
  • Computers and Technology
contestada

What is the PHP coding for determining if leap year or not?​

Respuesta :

babalolavicktor babalolavicktor
  • 20-02-2020

Answer:

<!DOCTYPE html>

<html>

<body>

<?php  

$year = 2032;  

if((0 == $year % 4) & (0 != $year % 100) | (0 == $year % 400))

{

echo "$year is a Leap Year.";    

}

else  

{  

echo "$year is not a Leap Year.";    

}

?>

</body>

</html>

Explanation:

Answer Link

Otras preguntas

Can you also find out the same thing for 3/4 I would highly appreciate it so I won't have to break this up!
Organisms belonging to the same species can mate and produce fertile offspring. T F
the graph below has A) no linear factors B) two dissimilar linear factors or C) one repeated linear factor
what were the advances and limitations of early photography?
what the surface area of triangular prism 8cm 10cm 12cm 3cm
Each equation below represents a hyperbola. Which hyperbola will have a horizontal asymptote at y = 7? (10 points!!) Answer options attached
What type of muscle fibers does aerobic training chiefly work?
what is gravity and what are the two factors that determine its strengeth
Which is NOT true of STRs? a) STRs are often about 1000 base pairs long b) There are many STRs in DNA c) STRs are the search parameters for DNA databases d)STRs
Which Buddhist temple is found at Sanchi, India? A) The Horyuji temple B) The North temple C) The Great Stupa