int ch ; 1LSJy*yY
ch=getche() ; jnbR}a=fJ
if((ch>='a') && (ch<='z')) kr|r-N`
printf("%c is a lowercase letter\n" ,ch); (T$cw(!
else if ((ch>='A') && (ch<='Z')) *3E3,c8{A
print(" %c is a uppercase letter\n" ,ch); [W{|94q
else if((ch>'0')&&(ch<'9') }No #_{
printf(" %c is a number character between 0 and 9\n" ,ch) ; R.2i%cU
else n0gjcDHQ
printf("%c is...") -?:8sv*X
lP)n$?u
外面再加个循环就行了