【菜鸟入C】【输入一小写字母并将其转化成大写字母】

#include
int main()
{
char c1,c2;
printf("please enter one letter:");
stanf("%c",&c1);
c2=c1+32;
printf("%c",c2);
return 0;
}

你可能感兴趣的:(【菜鸟入C】【输入一小写字母并将其转化成大写字母】)