SAD
This commit is contained in:
parent
2d4380cb6d
commit
f44ae3a4df
@ -2,16 +2,14 @@
|
|||||||
|
|
||||||
int main(){
|
int main(){
|
||||||
int c = 0;
|
int c = 0;
|
||||||
int big;
|
//int big;
|
||||||
char d;
|
char d;
|
||||||
while( c != EOF){
|
while( c != EOF){
|
||||||
c = getchar();
|
c = getchar();
|
||||||
if (c >= 'a' && c <= 'z'){
|
if (c >= 'a' && c <= 'z'){
|
||||||
big = c - 'a' + 'A';
|
d = c - 'a' + 'A';
|
||||||
d = big;
|
|
||||||
c = d;
|
|
||||||
}
|
}
|
||||||
putchar (c);
|
putchar (d);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user