test
This commit is contained in:
parent
4a7695e7ce
commit
323e53fd88
@ -58,7 +58,7 @@ bool delit(KalkulackaZasobnik *kalkulacka) {
|
||||
float a, b;
|
||||
if (vyber(kalkulacka, &a, &b)) {
|
||||
if (a == 0) {
|
||||
printf ("division by zero\n")
|
||||
printf ("division by zero\n");
|
||||
return false;
|
||||
}
|
||||
return vloz(kalkulacka, b / a);
|
||||
|
Loading…
Reference in New Issue
Block a user