int ch ; Zj'9rXhrM1
ch=getche() ; j0q&&9/Jj
if((ch>='a') && (ch<='z')) 4j^
@wV'
printf("%c is a lowercase letter\n" ,ch); {+>-7
9b
else if ((ch>='A') && (ch<='Z')) cw
<l{A
print(" %c is a uppercase letter\n" ,ch); 4o5t#qP5$S
else if((ch>'0')&&(ch<'9') Jln:`!#fDf
printf(" %c is a number character between 0 and 9\n" ,ch) ; jnwu9PQ
else TB31-
()
printf("%c is...") ^U/O!GK
ZbKg~jdF
外面再加个循环就行了