From 70e496ccfacdf567ffb4e5b88bfd77b9a87b3583 Mon Sep 17 00:00:00 2001 From: Hendrik Sitzmann Date: Thu, 8 Feb 2024 01:38:30 +0100 Subject: [PATCH] deleted terminal condition --- src/fakultaet/fakultaet.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/fakultaet/fakultaet.c b/src/fakultaet/fakultaet.c index d10c0a0..93273f6 100644 --- a/src/fakultaet/fakultaet.c +++ b/src/fakultaet/fakultaet.c @@ -1,11 +1,6 @@ #include int fakultaet(int n) { - if (n < 0) { - printf("Fakultaet kann nicht für negative Zahlen berechnet werden!\n"); - return -1; - } - if (n == 0 || n == 1) return 1;