转换字母(顺序结构)

Description

从键盘上输入一个小写字母,然后将小写字母装换成大写字母输出!

Input

从键盘上输入一个小写字母。

Output

小写字母装换成大写字母输出。

Sample

Input 

a

Output 

A

#include <stdio.h>
char main()
{
    char a,b;
    a = getchar();
    b = a - 32;
    printf("%c",b);
}
温馨提示: 本文最后更新于2020-10-09,至今已有1295天,某些文章具有时效性,若有错误或已失效,请在下方留言
© 版权声明
THE END
喜欢就支持一下吧❀
点赞0投币 分享
评论 抢沙发

    请登录后查看评论内容