#include <stdio.h>
#include <ctype.h>
int main()
{
char ch = 0;
//多组输入
while (~scanf(" %c", &ch))
{
//isupper - islower - 判断是大小写字母
if (islower(ch))
{
//tolower - toupper - 转换为大小写字母
printf("%c\n", toupper(ch));
}
else if (isupper)
{
printf("%c\n", tolower(ch));
}
}
return 0;
}
京公网安备 11010502036488号