萝卜GG
2015-10-20 16:59
#include<stdio.h>
main()
{
char x;
scanf("%c\n",&x);
if(x>='A'&&x<='Z')
{
x=x+'a'-'A';
}
else
{
x=x;
}
printf("%c\n",x);
return 0;
}
#include<stdio.h>
main()
{
char x;
scanf("%c\n",&x);
if(x>='A'&&x<='Z')
{
printf("%c\n",x+32);
}
else
{
printf("%c\n",x);
}
return 0;
}C语言入门
928197 学习 · 21544 问题
相似问题