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

Define what is meant by the term elasticity of demand
2. There are only red pens and blue pens in a box. There are 12 red pens in the box. The probability of taking at random a blue pen from the box is 23 Work out
Given: 21 22 Prove: p || q 2 3 P Assemble the proof by dragging tiles to the Statements and Reasons columns. Angles Lines Statements Reasons 211 Statements 2 Re
Good afternoon students how many Elementos does argón have
for two quantites x ans y if y is always constant muiple of x thet have an?
QUESTION 1 Crimes that require specific intent fall into which category: O The defendant intends to cause a certain bad result O The defendant intends to do som
Which of the following social media influencing tactics can be described as getting someone to do or buy something because others are also doing it?
Oxidation number of each element in the compound (NH4)2CrO4
Write a story about a social situation of 250-300 words. Choose one of these possibilities or use your own ideas. • The family secret's out • A different countr
dont forget to use modal verbs please answer correctly thank you