#include int main(){char ch;printf("输入小写字母:");ch = getchar();printf("%c的ASCII值为%d\n", ch, ch);ch -= 'a' - 'A';printf("对应的大写字线为%c,ASCII值为%d\n", ch, ch);return 0;}