int ch ; |aaoi4OJ
ch=getche() ; 31FQ=(K
if((ch>='a') && (ch<='z')) .q!U@}k.
printf("%c is a lowercase letter\n" ,ch); AV t(e6H
else if ((ch>='A') && (ch<='Z')) WNE=|z#|
print(" %c is a uppercase letter\n" ,ch); |Z"5zL10
else if((ch>'0')&&(ch<'9') r@|{m QOxa
printf(" %c is a number character between 0 and 9\n" ,ch) ; CO)BF%?B
else L\`uD[g
printf("%c is...") XBTtfl
&
!BQ:R(w
外面再加个循环就行了