-
-
Save parzibyte/fb0f0d386aa9db6cb403557e95b45fff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int esBisiesto(long anio) | |
{ | |
// Divisible entre 4, y (NO divisible entre 100 o divisible entre 400) | |
return anio % 4 == 0 && (anio % 100 != 0 || anio % 400 == 0); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment