add file
This commit is contained in:
parent
43d4142500
commit
042e637c4f
@ -6,10 +6,13 @@
|
|||||||
|
|
||||||
while(1){
|
while(1){
|
||||||
Sym=getchar();
|
Sym=getchar();
|
||||||
if(Sym==EOF || Sym==0)break;
|
if(Sym==EOF || Sym==0){
|
||||||
|
counter++;
|
||||||
|
break;
|
||||||
|
}
|
||||||
else if(Sym<='Z'&&Sym>='A')Sym +=32;
|
else if(Sym<='Z'&&Sym>='A')Sym +=32;
|
||||||
else if(Sym<='z'&&Sym>='a')Sym-=32;
|
else if(Sym<='z'&&Sym>='a')Sym-=32;
|
||||||
counter++;
|
//counter++;
|
||||||
OutSym=Sym;
|
OutSym=Sym;
|
||||||
putchar(OutSym);
|
putchar(OutSym);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user