Skip to content

Commit b85bf49

Browse files
authored
merge: Fixed a wrong sentence structure (TheAlgorithms#952)
* Fixed a typo where the commenting was wrong * optimised code * fixed a sentence structure * changed the sentence structure * updated pull request * Update SetBit.js
1 parent 81c771b commit b85bf49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Maths/LeapYear.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* The logic behind the leap year is-
88
* 1. If the year is divisible by 400 then it is a leap year.
99
* 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.
10+
* 3. If the year is not divisible by both 400 and 100 but divisible by 4 then a leap year.
1111
* 4. Other cases except the describing ones are not a leap year.
1212
*
1313
* @param {number} year

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy