This commit is contained in:
Andrii Hermaniuk 2022-03-04 14:10:25 +01:00
parent 5b551900e6
commit a581bacd64

View File

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