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