#include<stdio.h>
int main()
{
char c1,c2;
printf("please enter one letter:");
stanf("%c",&c1);
c2=c1+32;
printf("%c",c2);
return 0;
}
【菜鸟入C】【输入一小写字母并将其转化成大写字母】
最新推荐文章于 2024-02-26 18:55:54 发布
#include<stdio.h>
int main()
{
char c1,c2;
printf("please enter one letter:");
stanf("%c",&c1);
c2=c1+32;
printf("%c",c2);
return 0;
}