diff --git a/du1/program.c b/du1/program.c index 1fadac1..b2fa012 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); + printf("\nPočet riadkov: %d\n", count_lines[i]); return 0; }