Leap Year program in java | Java program to check input year is leap year or not | write2code |
What is leap year?
A year, occurring once every four years, which has 366 days including 29 February as an intercalary day.
To determine whether a year is a leap year, follow these steps:
If the year is evenly divisible by 4, go to step 2. Otherwise, go to step 5.
If the year is evenly divisible by 100, go to step 3. Otherwise, go to step 4.
If the year is evenly divisible by 400, go to step 4. Otherwise, go to step 5.
The year is a leap year (it has 366 days).
The year is not a leap year (it has 365 days).
Blog :- https://write2coding.blogspot.com
Subscribe :) https://cutt.ly/GbQvHBy
🔥 Please Like, Subscribe & Share!! ❤️❤️
🔥️ Thank you !! ❤️❤
Sur cette page du site, vous pouvez voir la vidéo en ligne Leap Year program in java | Java program to check input year is leap year or not | write2code | durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur write2code 14 October 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 95 fois et il a aimé 5 téléspectateurs. Bon visionnage!