Created
April 18, 2023 15:29
-
-
Save zendar426/8588bf30e1708a681a27bb31225f4eec to your computer and use it in GitHub Desktop.
#Csharp #Matematicas
This file contains hidden or 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
static int Mcd(int a, int b) | |
{ | |
if (b > a) return Mcd(b, a); | |
else if (b == a) return a; | |
else return Mcd(a-b,b); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment