int ch ; h\(B#SN
ch=getche() ; }3Qc 24`
if((ch>='a') && (ch<='z')) I!P4(3skAB
printf("%c is a lowercase letter\n" ,ch); dPsLZ"I
else if ((ch>='A') && (ch<='Z')) /jM_mrpz
print(" %c is a uppercase letter\n" ,ch); Qlw>+y-i
else if((ch>'0')&&(ch<'9') 0LdJZP
printf(" %c is a number character between 0 and 9\n" ,ch) ; ioxbf6{
else k0JW[04j
printf("%c is...") Goxl3LS<
Q^L)
Vp"
外面再加个循环就行了