diff --git a/src/primzahl/main.c b/src/primzahl/main.c index 555fd74..8bf3839 100644 --- a/src/primzahl/main.c +++ b/src/primzahl/main.c @@ -8,5 +8,10 @@ int main() { int num = usergetd("Enter a positive number: ", minInput, NULL); + if (primzahl(num)) + printf("%d is a prime number.\n", num); + else + printf("%d is not a prime number.\n", num); + return 0; } \ No newline at end of file