From 550371fc9b1fe89e403523fbb8b63bbf5c3b37a1 Mon Sep 17 00:00:00 2001 From: cxnnqr Date: Tue, 6 Feb 2024 13:29:45 +0100 Subject: [PATCH] refactoring: changed print messages --- src/kgV/main.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/kgV/main.c b/src/kgV/main.c index e32341d..d18e516 100644 --- a/src/kgV/main.c +++ b/src/kgV/main.c @@ -3,13 +3,11 @@ #include int main(){ - printf("add two numbers:\n"); + 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); int result = kgV(firstNum, secondNum); - printf("The result is: %d\n", result); - - + printf("The kgV of %d and %d is: %d\n", firstNum, secondNum, result); return 0; } \ No newline at end of file