int ch ; U15Hq*8Z
ch=getche() ; OwDjUKeN
if((ch>='a') && (ch<='z')) yil{RfBEr_
printf("%c is a lowercase letter\n" ,ch); n|^-qy'w
else if ((ch>='A') && (ch<='Z')) <y`yKXzBUV
print(" %c is a uppercase letter\n" ,ch); nGyY`wt&Rg
else if((ch>'0')&&(ch<'9') p]pFZ";70
printf(" %c is a number character between 0 and 9\n" ,ch) ; TWxMexiW
else r*,]=M W
printf("%c is...") v3@)q0@
^s24f?3
外面再加个循环就行了