int ch ; CZy!nR!
ch=getche() ; M+-odLltw
if((ch>='a') && (ch<='z')) `-s]dq
printf("%c is a lowercase letter\n" ,ch); |@rf#,hTDp
else if ((ch>='A') && (ch<='Z')) XwIHIG}
print(" %c is a uppercase letter\n" ,ch); rU>l(O'b
else if((ch>'0')&&(ch<'9') xxGQXW
printf(" %c is a number character between 0 and 9\n" ,ch) ; E0i!|H
else 5:+x7Ed
printf("%c is...") g:^Hex?Yfd
&iuMB0rbu
外面再加个循环就行了