#include<stdio.h>
int main()
{
char ch;
char ch1;
while((ch=getchar()) != EOF)
{
if(ch>=‘a‘&&ch<=‘z‘)
{ ch1=ch-32;
putchar(ch1);
continue;
}
if(ch>=‘A‘&&ch<=‘Z‘)
{ ch1=ch+32;
putchar(ch1);
continue;
}
if(ch>=‘0‘&&ch<=‘9‘)
{
continue;
}
printf("\n");
}
return 0;
}
时间: 2024-10-13 06:25:22