From a3ca85043723bb6a54fe4a600cc20618d656238d Mon Sep 17 00:00:00 2001 From: Weber Date: Mon, 14 Oct 2024 11:49:10 +0000 Subject: [PATCH] test --- cv3/program.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cv3/program.c b/cv3/program.c index 82e3f09..24975ca 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -58,7 +58,7 @@ bool delit(KalkulackaZasobnik *kalkulacka) { float a, b; if (vyber(kalkulacka, &a, &b)) { if (a == 0) { - return false; + return false; // Delenie nulou } return vloz(kalkulacka, b / a); } @@ -122,7 +122,7 @@ int main() { if (delit(&kalkulacka)) { zobraz_zasobnik(&kalkulacka); } else { - printf("no input\n"); + printf("division by zero\n"); return 0; } break;