Update 'cv3/program.c'
This commit is contained in:
parent
b91eef8dd8
commit
df759c0d4f
@ -50,7 +50,7 @@ int operation_insert_result(struct stack_glavny* stack, char operation) {
|
|||||||
break;
|
break;
|
||||||
case '/':
|
case '/':
|
||||||
if (operand2 == 0) {
|
if (operand2 == 0) {
|
||||||
//printf("division by zero\n");
|
printf("division by zero\n");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
result = operand1 / operand2;
|
result = operand1 / operand2;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user