From 9c25ad4c740f0637cc14b14b42d85dbd87440b12 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 16 Oct 2025 02:26:49 +0200 Subject: [PATCH] funguje --- du3/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/du3/program.c b/du3/program.c index 9a7e0e2..2222230 100644 --- a/du3/program.c +++ b/du3/program.c @@ -89,6 +89,7 @@ int main() char input[1000]; while (fgets(input,sizeof(input),stdin)!=NULL) { + printf("no input"); int flag=switch_operators(input); input[strcspn(input,"\n")]=0; if (strlen(input)==0 || input[0]==' ') @@ -106,7 +107,6 @@ int main() char* ptr; float num=strtof(input,&ptr); push_stack(&mystack,num); - printf("no input"); } print_stack(&mystack); }