int ch ; z<<Tk.65
ch=getche() ; 0roCP=;
if((ch>='a') && (ch<='z')) Ue7 6py9
printf("%c is a lowercase letter\n" ,ch); [:B*6FXMN~
else if ((ch>='A') && (ch<='Z')) 88o:NJ}_
print(" %c is a uppercase letter\n" ,ch); c<jB6|.=2
else if((ch>'0')&&(ch<'9') /gw Cwyo
printf(" %c is a number character between 0 and 9\n" ,ch) ; i@,]Z~]
else N`1r;%5
printf("%c is...") l RND
r/PKrw sC
外面再加个循环就行了