Created
May 4, 2015 19:08
-
-
Save jonatasemidio/af3461a0c494b494c8e7 to your computer and use it in GitHub Desktop.
Exemplo Algoritimo de Euclides
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
def mdc(a, b) { return (b == 0) ? a : mdc (b, a%b) } | |
mdc 252, 105 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment