We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19b9cb2 commit b7d7112Copy full SHA for b7d7112
Maths/LeapYear.js
@@ -7,7 +7,7 @@
7
* The logic behind the leap year is-
8
* 1. If the year is divisible by 400 then it is a leap year.
9
* 2. If it is not divisible by 400 but divisible by 100 then it is not a leap year.
10
- * 3. If the year is not divisible by 400 but not divisible by 100 and divisible by 4 then a leap year.
+ * 3. If the year is not divisible by both 400 and 100 but divisible by 4 then a leap year.
11
* 4. Other cases except the describing ones are not a leap year.
12
*
13
* @param {number} year
0 commit comments