Update cv3/program.c

This commit is contained in:
Yurii Chechur 2024-10-14 11:07:50 +00:00
parent 50804be2f7
commit 54f1444457

View File

@ -81,8 +81,8 @@ int read(struct stack *s) {
case '*':
case '/': {
if (s->size < 2) {
printf("no input\n");
return 1; // Continue to next iteration
printf("not enough operands\n");
exit(0); // Continue to next iteration
}
float b = pop_stack(s);