int ch ;
2aROY2
ch=getche() ; +W{ELdup%q
if((ch>='a') && (ch<='z')) 0vu$dxb[
printf("%c is a lowercase letter\n" ,ch); qB%?t.k7
else if ((ch>='A') && (ch<='Z')) Lm-yTMNPn
print(" %c is a uppercase letter\n" ,ch); \NIj&euF
else if((ch>'0')&&(ch<'9') F_Pv\?35z
printf(" %c is a number character between 0 and 9\n" ,ch) ; D7|=ev
else Iuh1tcc
printf("%c is...") Wmm'j&hI
p5 !B
外面再加个循环就行了