diff --git a/cv3/program.c b/cv3/program.c index 89825a6..0d613e3 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -33,7 +33,7 @@ float pop_stack(struct stack* s) { void print_stack(struct stack* s) { for (int i = 0; i < s->size; i++) { - printf("%.2f ", s->values[i]); + printf("%.2f ", s->values[i]); } printf("\n"); } @@ -46,7 +46,8 @@ int main() { int has_input = 0; while (1) { - + + printf("Zadajte číslo alebo operáciu (+, -, *, /): "); if (!fgets(input, sizeof(input), stdin)) { break; }