题目地址:https://www.luogu.com.cn/problem/P5704
这是洛谷官方顺序结构题单中的一题,可利用ASCII码解题。
代码如下:
#include <stdio.h>
int main() {
char a;
char b;
scanf("%c", &a);
b = a - 32;
printf("%c", b);
return 0;
}
原文:https://www.cnblogs.com/kozumi/p/12679550.html