diff --git a/cv1/program.c b/cv1/program.c index 4bb4db3..42d52bb 100644 --- a/cv1/program.c +++ b/cv1/program.c @@ -2,12 +2,12 @@ int main() { int text; - int riadky = 0; + int lines_count = 0; while ((text = getchar()) != EOF) { if (text == '\n') { putchar('\n'); - riadky++; + lines_count++; } else if (text == '\t') { putchar('\t'); continue; @@ -20,8 +20,7 @@ int main() { } } - printf("\nPocet riadkov: %d\n", riadky); + printf("\nLines count: %d\n", lines_count); return 0; -} - +} \ No newline at end of file