#include <stdio.h>
#include<string.h>
int main() {
int n,i,j;
char s[100];
scanf("%[^\n]s",s);
n=strlen(s);
for(i=0;i<n;i++){
if(s[i]>='A' && 'Z'>=s[i]){
s[i]=s[i]+32;
}
else{
s[i]=s[i]-32;
}
}
printf("%s",s);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: