Update cv3/program.c

This commit is contained in:
Yurii Chechur 2024-10-14 11:01:36 +00:00
parent a16b56dd33
commit 66c28617aa

View File

@ -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;