Skip to content

Instantly share code, notes, and snippets.

@parzibyte

parzibyte/esBisiesto.java Secret

Last active Aug 28, 2020
Embed
What would you like to do?
public static boolean 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