Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created December 19, 2019 04:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/85c6360d5fa6864b1ee42cd6dda50b6c to your computer and use it in GitHub Desktop.
Save parzibyte/85c6360d5fa6864b1ee42cd6dda50b6c to your computer and use it in GitHub Desktop.
int maximo_comun_divisor_recursivo(int a, int b) {
if (b == 0) return a;
return maximo_comun_divisor_recursivo(b, a % b);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment