int ch ; ,U""m7
ch=getche() ; +La2-I
if((ch>='a') && (ch<='z')) Ph^1Ko"2
printf("%c is a lowercase letter\n" ,ch); o;@~uU
else if ((ch>='A') && (ch<='Z')) i^DMnvV.
print(" %c is a uppercase letter\n" ,ch); m7^f%<l
else if((ch>'0')&&(ch<'9') f&<+45JI
printf(" %c is a number character between 0 and 9\n" ,ch) ; y8YsS4E^Q
else 2"D4q (@
printf("%c is...") (\ab%M
w[X-Q+7p(t
外面再加个循环就行了