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

Question: convert 32 °C to F
Help help help help help help help
In a serious collision there is a blank chance of your car catching on fire
TRUE OR FALSE ___________1. Cambodian people absorbed and adopted Indian, Chinese, European, and other cultures to suit their own traditions and tastes that res
jessie uses the number line below to help write -2 + (-4) as a subtraction problem. part a. what is wrong with Jessie‘s number line? part b. write the subtracti
1. The Monk tells story after story, all with the same moral. What do you think this says about the Monk's character? Explain your answer. ap3x
If mA = mzB and mzA + m2C = m2D, then m2B + m2C = m2D Which property is shown? A. Reflexive property B. Substitution property C. Symmetric property D. Transi
what are Humana pharmacy advantages
HELP ME PLZZ I NEED HLELP!! PLEASE DONT GIVE A WRONG ANSWER
Type the integer that makes the following addition sentence true for Brainliest!!