corection8
This commit is contained in:
parent
8bd7f03655
commit
362affb216
@ -6,7 +6,7 @@ int main()
|
|||||||
char c;
|
char c;
|
||||||
int counter=0;
|
int counter=0;
|
||||||
while ((c = getchar()) != EOF) {
|
while ((c = getchar()) != EOF) {
|
||||||
if (c=='\n'||c=='\t'||c=='\r' ||c=='\f'||(c >= 32 && c <= 126)){
|
if (c=='\n'||c=='\t'||(c >= 32 && c <= 126)){
|
||||||
if(c<='z'&&c>='a'){
|
if(c<='z'&&c>='a'){
|
||||||
c=c+('A'-'a');
|
c=c+('A'-'a');
|
||||||
}else if(c<='Z'&&c>='A'){
|
}else if(c<='Z'&&c>='A'){
|
||||||
|
Loading…
Reference in New Issue
Block a user