int ch ; 3u;oQ5<(v
ch=getche() ; 6 r"<jh #
if((ch>='a') && (ch<='z')) rKn~qVls
printf("%c is a lowercase letter\n" ,ch); YMgNzu
else if ((ch>='A') && (ch<='Z')) / +\9S
print(" %c is a uppercase letter\n" ,ch); "8RSvT<W^5
else if((ch>'0')&&(ch<'9') 2?5>o!C
printf(" %c is a number character between 0 and 9\n" ,ch) ; 99S^f:t
else !?XC1xe~R
printf("%c is...") :
'c&,oLY
Ei|\3Kx
外面再加个循环就行了