int ch ; [
fzYC'A=
ch=getche() ; .yXqa"p
if((ch>='a') && (ch<='z')) [yQ%g;m
printf("%c is a lowercase letter\n" ,ch); MSvZ3[5Io
else if ((ch>='A') && (ch<='Z')) ycc G>%>r
print(" %c is a uppercase letter\n" ,ch); +8N6tw/&
else if((ch>'0')&&(ch<'9') \-;f<%+
printf(" %c is a number character between 0 and 9\n" ,ch) ; J({D~
else GK'p$`oJm
printf("%c is...") -2J37
OmBz'sp:
外面再加个循环就行了