Update du3/program.c

This commit is contained in:
Denis Landa 2025-10-16 17:34:18 +00:00
parent 3a51751867
commit 4cce19500f

View File

@ -18,7 +18,7 @@ void print_stack(struct stack *s) {
void push_stack(struct stack *s, float value) { void push_stack(struct stack *s, float value) {
if (s->size >= STACK_SIZE) { if (s->size >= STACK_SIZE) {
printf("no input\n"); printf("full stack\n");
exit(0); exit(0);
} }
s->values[s->size] = value; s->values[s->size] = value;