int ch ; xiA9X]FB
ch=getche() ; ;\Wg>sq
if((ch>='a') && (ch<='z')) ]7dm`XV
printf("%c is a lowercase letter\n" ,ch); {r'#(\
else if ((ch>='A') && (ch<='Z')) /wCP(1Mw
print(" %c is a uppercase letter\n" ,ch); nfrC@Av
else if((ch>'0')&&(ch<'9') C@]Z&H;
printf(" %c is a number character between 0 and 9\n" ,ch) ; 1|z>}
xP
else p+9vSM #
printf("%c is...") J"6_H =s
=x/]2+
s
外面再加个循环就行了