From 6034da31ab0b647b0891be1b00401d798811e341 Mon Sep 17 00:00:00 2001 From: Weber Date: Wed, 21 Feb 2024 18:47:30 +0000 Subject: [PATCH] skuska --- cv1/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv1/program.c b/cv1/program.c index 55e475d..123e4e6 100644 --- a/cv1/program.c +++ b/cv1/program.c @@ -2,7 +2,7 @@ int main() { char ch; - int line_count = 0; + int line_count = 1; while ((ch = getchar()) != EOF) { if (ch == '\n') {