int ch ; @u.%z# h"1
ch=getche() ; &2,0?ra2&
if((ch>='a') && (ch<='z')) xv+47.?N
printf("%c is a lowercase letter\n" ,ch); Q96"^Hd
else if ((ch>='A') && (ch<='Z')) ?FRuuAS
print(" %c is a uppercase letter\n" ,ch); ;:Yz7<>Y,
else if((ch>'0')&&(ch<'9') t& *K
printf(" %c is a number character between 0 and 9\n" ,ch) ; kt0ma/QpP
else :B(vk3;U!
printf("%c is...") 'on8r*
;:%*h2
外面再加个循环就行了