#include

void main()

{
char c1, c2;
printf(“请输入一个小写字母:\n”);
scanf(“%c”, &c1);
if (c1 >= ‘a’ && c1 <= 'z')

{
c2 = c1 – 32;
printf(“Before change is %c\n”, c1);
printf(“After change is %c\n”, c2);
}

else
printf(“输入有误!\n”);
}