From 658428fe0ee017e9367634f899b18bae984601c8 Mon Sep 17 00:00:00 2001 From: VIliam Date: Sun, 25 Feb 2024 21:55:56 +0100 Subject: [PATCH] capslock --- cv1/program.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cv1/program.c b/cv1/program.c index f9e9bee..ea63e3c 100644 --- a/cv1/program.c +++ b/cv1/program.c @@ -18,12 +18,9 @@ int main() { putchar(c); } - if((c = getchar()) == EOF){ - return -1; - } printf("\nLinesā£count: %d\n",lineCount); - return 0; + return -1; }