Leap Year program in java | Java program to check input year is leap year or not | write2code |

Published: 14 October 2021
on channel: write2code
95
5

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 !! ❤️❤


On this page of the site you can watch the video online Leap Year program in java | Java program to check input year is leap year or not | write2code | with a duration of hours minute second in good quality, which was uploaded by the user write2code 14 October 2021, share the link with friends and acquaintances, this video has already been watched 95 times on youtube and it was liked by 5 viewers. Enjoy your viewing!