From e6f2ab769cf566f01235619887bec85b2ad4a409 Mon Sep 17 00:00:00 2001 From: Weber Date: Mon, 14 Oct 2024 14:12:20 +0000 Subject: [PATCH] test --- cv3/program.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/cv3/program.c b/cv3/program.c index 64f60ae..be371d6 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -142,12 +142,14 @@ int main() { if (a == 0) { printf("division by zero\n"); return 0; - } else { + } if else { vloz(&kalkulacka, b / a); zobraz_zasobnik(&kalkulacka); } - default: - printf("not enough operands\n"); + else{ + printf("not enough operands\n"); + } + } else { printf("no input\n"); return 0;