c语言中将小写字母a和b转换为大写a和b

c语言中将小写字母a和b转换为大写a和b

第1个回答  推荐于2017-10-15
#include <stdio.h>
#include <string.h>

int main()
{
    char x = 'a';
    char y = toupper(x);
    printf("%c -> %c\n", x, y);
    return 0;
}

追问

#include
main()
{
char c1,c2;
c1='a';
c2='b';
c1=____;
c2=____;
printf(“%c %c\n”,c1,c2);
}
这里的两个空填什么啊

本回答被提问者采纳
相似回答