From 2d9b1419a64d5b4a90fd9353c8d13acce5e7220a Mon Sep 17 00:00:00 2001 From: Hendrik Sitzmann Date: Thu, 8 Feb 2024 18:35:53 +0100 Subject: [PATCH] get user input from main --- src/primzahl/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/primzahl/main.c b/src/primzahl/main.c index 61718d8..555fd74 100644 --- a/src/primzahl/main.c +++ b/src/primzahl/main.c @@ -4,7 +4,9 @@ #include int main() { + int minInput = 0; + int num = usergetd("Enter a positive number: ", minInput, NULL); - return 0; + return 0; } \ No newline at end of file