int ch ; $)M5@KT
ch=getche() ; yUFT9bD
if((ch>='a') && (ch<='z')) ,S=ur%
printf("%c is a lowercase letter\n" ,ch); Md1ePp]
else if ((ch>='A') && (ch<='Z')) a"X9cU[
print(" %c is a uppercase letter\n" ,ch); BP0*`TY
else if((ch>'0')&&(ch<'9') ]KRw[}z
printf(" %c is a number character between 0 and 9\n" ,ch) ; 2xpI|+a%
else |VML.u:N
printf("%c is...") HY7#z2L
b(:U]>J
外面再加个循环就行了