Created
September 20, 2019 16:56
-
-
Save parzibyte/ce7fde43842de98597a661bd02399606 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
/* | |
Número divisible en Java | |
https://parzibyte.me/blog | |
*/ | |
class Main { | |
public static void main(String[] args) { | |
if (5 % 2 == 0) { | |
System.out.println("5 es divisible entre 2"); | |
} else { | |
System.out.println("5 NO es divisible entre 2"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment