int ch ; YIjBKh
ch=getche() ; V$^x]z
if((ch>='a') && (ch<='z')) [gD02a:u
printf("%c is a lowercase letter\n" ,ch); vO
<;Gnh~
else if ((ch>='A') && (ch<='Z')) >e8t
print(" %c is a uppercase letter\n" ,ch); @bS>XWI>
else if((ch>'0')&&(ch<'9') ~H?RHYP~
printf(" %c is a number character between 0 and 9\n" ,ch) ; =OhhMAn
else gM_Z/$
printf("%c is...") Qb9) 1
vzs6YsA
外面再加个循环就行了