diff --git a/du1/program.c b/du1/program.c index 51d020f..63155c4 100644 --- a/du1/program.c +++ b/du1/program.c @@ -18,6 +18,8 @@ int main(){ else out_char = inp_char; putchar(out_char); } - printf("\nPočet riadkov: %d\n",count_lines); + int counter=0; + counter=count_lines; + printf("\nPočet riadkov: %d\n",counter); return 0; }