diff --git a/src/kgV/kgV.c b/src/kgV/kgV.c index e050d06..64983ee 100644 --- a/src/kgV/kgV.c +++ b/src/kgV/kgV.c @@ -4,7 +4,5 @@ int kgV(int a, int b){ if(a == 0 || b == 0) return 0; - int kgV = a*b/ ggT(a, b); - int absoluteKgV = abs(kgV); - return absoluteKgV; + return abs(a*b/ ggT(a, b)); } \ No newline at end of file