diff --git a/cv3/program.c b/cv3/program.c index f536259..88a101b 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -24,7 +24,7 @@ void print_stack(struct stack* s) { void push_stack(struct stack* s, float value) { if (s->size >= STACK_SIZE) { - printf("Chyba: zasobnik je plny\n"); + printf("full stack\n"); exit(0); } s->values[s->size++] = value; @@ -32,7 +32,7 @@ void push_stack(struct stack* s, float value) { float pop_stack(struct stack* s) { if (s->size == 0) { - printf("Chyba: zasobnik je prazdny\n"); + printf("empty stack\n"); exit(0); } return s->values[--s->size];