题目链接:http://bailian.openjudge.cn/practice/2689
# include <stdio.h>
int main()
{
char s[80];
int i;
char c;
gets(s);
for(i=0;(c=s[i])!='\0';i++)
{
if(c==' '||c==','||c=='.')
continue;
else
{
if(s[i]<=90&&s[i]>=65)
{ s[i]+=32;continue;}
if(s[i]>=97&&s[i]<=122)
{ s[i]-=32;continue;}
}
}
for(i=0;(c=s[i])!='\0';i++)
printf("%c",s[i]);
printf("\n");
return 0;
}