From 9d410dc9f2f887c59926ff25b863ce6efacd4b4c Mon Sep 17 00:00:00 2001 From: cxnnqr Date: Tue, 6 Feb 2024 13:17:22 +0100 Subject: [PATCH] added ggT function to get the result --- src/ggT/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ggT/main.c b/src/ggT/main.c index f6334b2..fd29c99 100644 --- a/src/ggT/main.c +++ b/src/ggT/main.c @@ -6,6 +6,7 @@ int main(){ printf("add two numbers:\n"); int firstNum = usergetd("first number: ", 0, NULL); int secondNum = usergetd("second number: ", 0, NULL); + int result = ggT(firstNum, secondNum); return 0; }