From a54f0f56f4ae442836683b9c2f487b2959d39872 Mon Sep 17 00:00:00 2001 From: vafan Date: Fri, 20 Mar 2026 13:01:56 +0000 Subject: [PATCH] 5 --- du3/program.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/du3/program.c b/du3/program.c index 04de373..f510f5c 100644 --- a/du3/program.c +++ b/du3/program.c @@ -44,7 +44,7 @@ int main() { continue; } - // resultat + // resultat ye double teraz; switch (op) { case '+': @@ -58,7 +58,8 @@ int main() { break; case '/': if (n2 == 0.0) { - printf("CHYBA\n"); + + printf("ZLE\n"); continue; } teraz = n1 / n2;