Update cv3/program.c
This commit is contained in:
parent
bba7a52360
commit
addd2300b8
@ -61,7 +61,7 @@ int perform_operation(Calculator *calc, char op) {
|
|||||||
break;
|
break;
|
||||||
case '/':
|
case '/':
|
||||||
if (b == 0) {
|
if (b == 0) {
|
||||||
printf("Chyba: deleni nulou\n");
|
printf("division␣by␣zero\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
push(calc, a / b);
|
push(calc, a / b);
|
||||||
|
Loading…
Reference in New Issue
Block a user