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; }