int ch ; l~c# X3E
ch=getche() ; N@G~+GCxL
if((ch>='a') && (ch<='z')) L|N[.V9
printf("%c is a lowercase letter\n" ,ch); !R@s+5P)U
else if ((ch>='A') && (ch<='Z')) (4oO8aBB
print(" %c is a uppercase letter\n" ,ch); ?fmW'vs
else if((ch>'0')&&(ch<'9') .U9A\$
printf(" %c is a number character between 0 and 9\n" ,ch) ; YCnKX<Wv
else YMD&U
printf("%c is...") mdy+ >e<
%"g; K
外面再加个循环就行了