pvjc24/cv1/program.c
2024-02-22 13:21:51 +01:00

18 lines
273 B
C

#include <stdio.h>
int main()
{
char c;
while ((c = getchar()) != EOF) {
if(c<='z'&&c>='a'){
c=c+('A'-'a');
}else if(c<='Z'&&c>='A'){
c=c-('A'-'a');
}
printf("%c",c);
}
printf("\n");
return 0;
}