This commit is contained in:
Weber 2024-10-14 12:30:17 +00:00
parent 620f6d216c
commit b69d5b381a

View File

@ -58,7 +58,6 @@ bool delit(KalkulackaZasobnik *kalkulacka) {
float a, b;
if (vyber(kalkulacka, &a, &b)) {
if (a == 0) {
printf("division by zero\n");
return false;
}
return vloz(kalkulacka, b / a);