#include int main(){ char temp; scanf("%c",&temp); if (temp >= 'a' && temp <= 'z') { printf("你输入的是小写字母:%c,转换为大写字母为:%c\n", temp, temp-32); } else printf("你输入的是大写字母:%c\n",temp); return 0;}