26 lines
380 B
C
26 lines
380 B
C
#include <stdio.h>
|
|
|
|
int main(){
|
|
int c = 0;
|
|
int a = 0;
|
|
char small[] = "abcdefghijklmnopqrstuvwxyz";
|
|
char big[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
|
char d;
|
|
while( c != EOF){
|
|
c = getchar();
|
|
d = c;
|
|
int a = 0;
|
|
while(a > 26){
|
|
if(d == small[a]){
|
|
c = big[a];
|
|
break;
|
|
}else if(d == big[a]){
|
|
c = small[a];
|
|
break;
|
|
}
|
|
}
|
|
putchar (c);
|
|
}
|
|
return 0;
|
|
}
|