Update cv3/program.c
This commit is contained in:
parent
50804be2f7
commit
54f1444457
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user