Update du3/program.c
This commit is contained in:
parent
3a51751867
commit
4cce19500f
@ -18,7 +18,7 @@ void print_stack(struct stack *s) {
|
||||
|
||||
void push_stack(struct stack *s, float value) {
|
||||
if (s->size >= STACK_SIZE) {
|
||||
printf("no input\n");
|
||||
printf("full stack\n");
|
||||
exit(0);
|
||||
}
|
||||
s->values[s->size] = value;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user