diff --git a/src/kgV/main.c b/src/kgV/main.c index 198b263..e32341d 100644 --- a/src/kgV/main.c +++ b/src/kgV/main.c @@ -4,8 +4,8 @@ int main(){ printf("add two numbers:\n"); - int firstNum = usergetd("first number: ", 0, NULL); - int secondNum = usergetd("second number: ", 0, NULL); + int firstNum = usergetd("first number: ", NULL, NULL); + int secondNum = usergetd("second number: ", NULL, NULL); int result = kgV(firstNum, secondNum); printf("The result is: %d\n", result);