Created
August 24, 2020 02:11
-
-
Save parzibyte/14ea13a95b52c3031b4950f0fd1ea1c2 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
public static int maximoComunDivisorRecursivo(int a, int b) { | |
if (b == 0) return a; | |
return maximoComunDivisorRecursivo(b, a % b); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment