diff --git a/src/kgV/kgV.c b/src/kgV/kgV.c index a9e61e8..2821d84 100644 --- a/src/kgV/kgV.c +++ b/src/kgV/kgV.c @@ -2,5 +2,6 @@ #include "ggT.h" int kgV(int a, int b){ + if(a == 0 || b == 0) return 0; return a*b/ ggT(a, b); } \ No newline at end of file