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;