From e783ed4f25b40527ae377befac9dd3be078bd95d Mon Sep 17 00:00:00 2001 From: cxnnqr Date: Tue, 6 Feb 2024 13:18:08 +0100 Subject: [PATCH] print the ggT of those two numbers --- src/ggT/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ggT/main.c b/src/ggT/main.c index fd29c99..b40637a 100644 --- a/src/ggT/main.c +++ b/src/ggT/main.c @@ -7,6 +7,7 @@ int main(){ 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); return 0; }