Update cv3/program.c
This commit is contained in:
parent
a16b56dd33
commit
66c28617aa
@ -91,7 +91,7 @@ int read(struct stack *s) {
|
|||||||
case '/':
|
case '/':
|
||||||
if (b == 0) {
|
if (b == 0) {
|
||||||
printf("division by zero\n");
|
printf("division by zero\n");
|
||||||
return 1;
|
exit(0);
|
||||||
}
|
}
|
||||||
result = a / b;
|
result = a / b;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user