int ch ; 0b~5i-zM/
ch=getche() ; )DfmO
if((ch>='a') && (ch<='z')) Yep(,J~'
printf("%c is a lowercase letter\n" ,ch); O,]t. 1V
else if ((ch>='A') && (ch<='Z')) qA#!3<
print(" %c is a uppercase letter\n" ,ch); y7ijT='8
else if((ch>'0')&&(ch<'9') m(XcPb
printf(" %c is a number character between 0 and 9\n" ,ch) ; C B=H1+
else r2qxi'
printf("%c is...") Pc`d@q
C8DZ:3E$c
外面再加个循环就行了