题解 | #大小写转换#
大小写转换
http://www.nowcoder.com/practice/4e089ee8966a4ed4b306f64e68d45264
#include<stdio.h>
int main()
{
char ch;
while (scanf("%c", &ch) != EOF)
{
getchar();
printf("%c\n", ch + 32);
}
return 0;
}
大小写转换
http://www.nowcoder.com/practice/4e089ee8966a4ed4b306f64e68d45264
#include<stdio.h>
int main()
{
char ch;
while (scanf("%c", &ch) != EOF)
{
getchar();
printf("%c\n", ch + 32);
}
return 0;
}
相关推荐