int ch ; Lb2bzZbhx
ch=getche() ; p,hDZea
if((ch>='a') && (ch<='z')) %QW1?VVP
printf("%c is a lowercase letter\n" ,ch); 5m_$21
else if ((ch>='A') && (ch<='Z')) Bw]Y71
print(" %c is a uppercase letter\n" ,ch); T(UPWsj
else if((ch>'0')&&(ch<'9') &\Es\qVSf
printf(" %c is a number character between 0 and 9\n" ,ch) ; &R\t<X9 n
else a9h K8e
printf("%c is...") bT^6AtsJ
b'1n1L
外面再加个循环就行了