From c37ebacbd87b9a7a591c90a4160d9c3563c5311c Mon Sep 17 00:00:00 2001 From: Peter Sabol Date: Thu, 3 Mar 2022 14:44:15 +0100 Subject: [PATCH] funguje --- du1/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/du1/program.c b/du1/program.c index b2fa012..e12daf8 100644 --- a/du1/program.c +++ b/du1/program.c @@ -18,6 +18,6 @@ int main(){ else out_char = inp_char; putchar(out_char); } - printf("\nPočet riadkov: %d\n", count_lines[i]); + printf("\nPočet riadkov: %d\n",out_char); return 0; }