int ch ; g${JdxR:
ch=getche() ; ?yxQs=&-q~
if((ch>='a') && (ch<='z')) )@p?4XsT4J
printf("%c is a lowercase letter\n" ,ch); .R@s6}C`}=
else if ((ch>='A') && (ch<='Z')) aZ|?i
}
print(" %c is a uppercase letter\n" ,ch); em95ccs'-
else if((ch>'0')&&(ch<'9') LzJ`@0RrX
printf(" %c is a number character between 0 and 9\n" ,ch) ; sq;!5qK
else S[gACEZ =
printf("%c is...") 3~Lsa"/
J0
dY%pH#
外面再加个循环就行了