test
This commit is contained in:
parent
620f6d216c
commit
b69d5b381a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user