This commit is contained in:
Yaroslav Orlianskyi 2022-03-01 18:33:11 +01:00
parent 2d4380cb6d
commit f44ae3a4df

View File

@ -2,16 +2,14 @@
int main(){
int c = 0;
int big;
//int big;
char d;
while( c != EOF){
c = getchar();
if (c >= 'a' && c <= 'z'){
big = c - 'a' + 'A';
d = big;
c = d;
d = c - 'a' + 'A';
}
putchar (c);
putchar (d);
}
return 0;
}