From 1db5c0ef757dd10746e3de45531e1b4589f9db82 Mon Sep 17 00:00:00 2001 From: cxnnqr Date: Tue, 6 Feb 2024 13:19:58 +0100 Subject: [PATCH] refactoring: changed print messages --- src/ggT/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ggT/main.c b/src/ggT/main.c index b40637a..e9bc365 100644 --- a/src/ggT/main.c +++ b/src/ggT/main.c @@ -3,11 +3,11 @@ #include int main(){ - printf("add two numbers:\n"); + printf("Please add the two numbers you want the ggT of:\n"); int firstNum = usergetd("first number: ", 0, NULL); int secondNum = usergetd("second number: ", 0, NULL); int result = ggT(firstNum, secondNum); - printf("The ggT is: %d\n", result); + printf("The ggT of %d and %d is: %d\n", firstNum, secondNum, result); return 0; }