From da4409830f7297838622d239c3937272b80947ef Mon Sep 17 00:00:00 2001 From: Andrii Hermaniuk Date: Fri, 4 Mar 2022 14:14:31 +0100 Subject: [PATCH] add file --- du1/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/du1/program.c b/du1/program.c index 8cc3d19..0fd4159 100644 --- a/du1/program.c +++ b/du1/program.c @@ -6,7 +6,7 @@ while(1){ Sym=getchar(); - if(Sym==0||Sym=='\n'){ + if(Sym=='\n'){ counter++; } if(Sym==EOF){