int ch ; .w_`d'}
ch=getche() ; Tud1xq
if((ch>='a') && (ch<='z')) 3DAGW"F
printf("%c is a lowercase letter\n" ,ch); Bh,)5E^m
else if ((ch>='A') && (ch<='Z')) P! Ed
print(" %c is a uppercase letter\n" ,ch); $p3Wjf:bH
else if((ch>'0')&&(ch<'9') 4)HWPX
printf(" %c is a number character between 0 and 9\n" ,ch) ; ZQ9oZHU m
else 'ZH<g8:=@
printf("%c is...") G>,nZ/,A{
(}X?v`Y^W
外面再加个循环就行了