int ch ; J4T"O<i$58
ch=getche() ; Hd~g\
if((ch>='a') && (ch<='z')) /mkT7,]
printf("%c is a lowercase letter\n" ,ch); a{kJ`fK
else if ((ch>='A') && (ch<='Z')) wpK1nA+7N
print(" %c is a uppercase letter\n" ,ch); ,1sbY!&ekL
else if((ch>'0')&&(ch<'9') yYP_TuNa
printf(" %c is a number character between 0 and 9\n" ,ch) ; D
S U`(`
else qLEYBv-3
printf("%c is...") "iSY;y o
N%dY.Fk
外面再加个循环就行了