This commit is contained in:
2025-05-23 03:26:13 +03:00
parent 191705c1dc
commit 4e9b002e99
14 changed files with 307 additions and 0 deletions

View File

@ -0,0 +1,19 @@
#include <stdio.h>
int gcd (int, int);
int main (void) {
printf("%d\n", gcd(15, 20));
return 0;
}
int gcd (int x, int y) {
if(!y) {
return x;
} else {
return gcd(y, x % y);
}
}