int ch ; y6hb-:
#1
ch=getche() ; nrF5^eZ#
if((ch>='a') && (ch<='z')) IjPCaH.:t
printf("%c is a lowercase letter\n" ,ch); wHR# -g'
else if ((ch>='A') && (ch<='Z')) O)aWTI
print(" %c is a uppercase letter\n" ,ch); rA\6y6dFs
else if((ch>'0')&&(ch<'9') f?qp*
printf(" %c is a number character between 0 and 9\n" ,ch) ; /<R[X>]<F
else j; MQ_?"iN
printf("%c is...") L0Ycf|[s,
iwXMe(k
外面再加个循环就行了