diff --git a/src/kgV/main.c b/src/kgV/main.c index d18e516..fe7b6a0 100644 --- a/src/kgV/main.c +++ b/src/kgV/main.c @@ -3,10 +3,16 @@ #include int main(){ + + // User input for the two numbers. No matter of positive or negative printf("Please add the two numbers you want the kgV of:\n"); int firstNum = usergetd("first number: ", NULL, NULL); int secondNum = usergetd("second number: ", NULL, NULL); + + // Calculation of the kgV int result = kgV(firstNum, secondNum); + + // Print the result printf("The kgV of %d and %d is: %d\n", firstNum, secondNum, result); return 0;