P5704 Brush record

Title address: https://www.luogu.com.cn/problem/P5704
This is a question in Luogu's official sequential structure question list, which can be solved using ASCII code.
code show as below:

#include <stdio.h>

int main() {
    char a;
    char b;
    scanf("%c", &a);
    b = a - 32;
    printf("%c", b);

    return 0;
}

Guess you like

Origin www.cnblogs.com/kozumi/p/12679550.html