From 670c4bdaf7eee0fa6151b1fc2e4e573d01fe8342 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 16 Oct 2025 01:00:07 +0200 Subject: [PATCH] funguje --- du3/program.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/du3/program.c b/du3/program.c index 7b68ec5..a2e0768 100644 --- a/du3/program.c +++ b/du3/program.c @@ -77,7 +77,7 @@ void print_stack(struct stack* mystack) { for(int i=0;isize;i++) { - printf("%f",mystack->values[i]); + printf("%.2f",mystack->values[i]); if (isize-1) { printf(" "); @@ -98,6 +98,7 @@ int main() input[strcspn(input,"\n")]=0; if (strlen(input)==0) { + printf("no input"); continue; } if (flag==0)