int ch ; PN
&|8_
ch=getche() ; \Y e%o}.{
if((ch>='a') && (ch<='z')) JIxiklk
printf("%c is a lowercase letter\n" ,ch); lFfXWNb
else if ((ch>='A') && (ch<='Z')) )GJP_*Ab
print(" %c is a uppercase letter\n" ,ch); aZKXD! 4
else if((ch>'0')&&(ch<'9') cPuHLwwYf
printf(" %c is a number character between 0 and 9\n" ,ch) ; |I^y0Q:K
else Spgg+;9
printf("%c is...") 6Z8l8:r-6
fxtxu?A>
外面再加个循环就行了