/* Note:Your choice is C IDE */
#include “stdio.h”
void main()
{ char x;
printf(“请输入一个字符”);
scanf("%c",&x);
if(x>=‘A’&&x<=‘Z’)
{
x=(char)(x+32);
}
printf("输出的字符为%c",x);
}
/* Note:Your choice is C IDE */
#include “stdio.h”
void main()
{ char x;
printf(“请输入一个字符”);
scanf("%c",&x);
if(x>=‘A’&&x<=‘Z’)
{
x=(char)(x+32);
}
printf("输出的字符为%c",x);
}