Update du3/program.c
This commit is contained in:
parent
e59e598316
commit
837de1e95e
@ -27,7 +27,7 @@ void push_stack(struct stack *s, float value) {
|
||||
|
||||
float pop_stack(struct stack *s) {
|
||||
if (s->size <= 0) {
|
||||
printf("no input\n");
|
||||
printf("not enough operands\n");
|
||||
exit(0);
|
||||
}
|
||||
s->size--;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user