int ch ; 'a^tL[rLP1
ch=getche() ; /t)c fFM
if((ch>='a') && (ch<='z')) ~"2@A
F
printf("%c is a lowercase letter\n" ,ch); ~!9Px j*
else if ((ch>='A') && (ch<='Z')) PZRn6Tc
print(" %c is a uppercase letter\n" ,ch); 8{]Gh 0+
else if((ch>'0')&&(ch<'9') bK8F |
printf(" %c is a number character between 0 and 9\n" ,ch) ; r Ob"S*
else :yjK*"T|OD
printf("%c is...") ZCFf@2&z8
/&as)
外面再加个循环就行了