int ch ;
xXZ{
ch=getche() ; 8x<; AL|`
if((ch>='a') && (ch<='z')) ]WC@*3'kye
printf("%c is a lowercase letter\n" ,ch); j;i7.B"[
else if ((ch>='A') && (ch<='Z')) Dad*6;+N
print(" %c is a uppercase letter\n" ,ch); [moz{Y
else if((ch>'0')&&(ch<'9') ILXV yU
printf(" %c is a number character between 0 and 9\n" ,ch) ; LgoUD*MbQ
else 1V 2"sE
printf("%c is...") nsV;6^>
}G[Qm2k
外面再加个循环就行了