Write a PHP Script to check whether a year is a leap or not.
<?php
// Define the year
$year = 2024;
// Check leap year condition
if (($year % 4 == 0 && $year % 100 != 0) || ($year % 400 == 0)) {
echo $year . " is a Leap Year.";
} else {
echo $year . " is not a Leap Year.";
}
?>
