diff --git a/cv1/program.c b/cv1/program.c index ac20e70..466e1f0 100644 --- a/cv1/program.c +++ b/cv1/program.c @@ -2,7 +2,7 @@ #include int main() { - int lines_count = -1; + int lines_count = 0; int c; while ((c = getchar()) != EOF) { @@ -21,5 +21,6 @@ int main() { printf("Počet načítaných riadkov: %d\n", lines_count); return 0; - + +} \ No newline at end of file