Aktualizovat du3/program.c
This commit is contained in:
parent
2734d3c145
commit
a1779530b2
@ -16,7 +16,7 @@ void init_stack(struct stack* s) {
|
||||
|
||||
int push_stack(struct stack* s, float znac) {
|
||||
if (s->size >= STACK_SIZE) {
|
||||
printf("not enough operands\n");
|
||||
printf("full stack\n");
|
||||
return 0;
|
||||
}
|
||||
s->values[s->size++] = znac;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user