This commit is contained in:
Andrii Hermaniuk 2022-03-04 14:14:31 +01:00
parent 75271efd81
commit da4409830f

View File

@ -6,7 +6,7 @@
while(1){ while(1){
Sym=getchar(); Sym=getchar();
if(Sym==0||Sym=='\n'){ if(Sym=='\n'){
counter++; counter++;
} }
if(Sym==EOF){ if(Sym==EOF){