#include "stdio.h"
void main(){
char c;
c=getchar();
if(c>='A' && c<='Z'){
c+=32;
printf("大写字母为%c,小写字母为%c,ASCII码为%d\n",c-32,c,c);
}
}
#include
int main(void)
{
char c;
while((c=getchar())!=EOF)
{
if(c>='a'&&c<='z')
{
c+='A'-'a';
}
else if(c>='A'&&c<='Z')
{
c+='a'-'A';
}
putchar(c);
}
return 0;
}