int ch ; 6zJ>n~&(
ch=getche() ; mTZgvPJ!
if((ch>='a') && (ch<='z')) -;U3$[T,J7
printf("%c is a lowercase letter\n" ,ch); -42jeJS
else if ((ch>='A') && (ch<='Z')) 1{bsh?zd
print(" %c is a uppercase letter\n" ,ch); / Hexv#3
else if((ch>'0')&&(ch<'9') lISu[{b?
printf(" %c is a number character between 0 and 9\n" ,ch) ; /qO?)p3gk
else !J+< M~o}
printf("%c is...") }t.VH:02y
8}Su7v1
外面再加个循环就行了