int ch ; WF+99?75
ch=getche() ; |-67\p]
if((ch>='a') && (ch<='z')) !x=~g"d<&
printf("%c is a lowercase letter\n" ,ch); @Ns Qd_e
else if ((ch>='A') && (ch<='Z')) J7$5s
print(" %c is a uppercase letter\n" ,ch); ,5p(T_V/
else if((ch>'0')&&(ch<'9') Z9ZPr?C=
printf(" %c is a number character between 0 and 9\n" ,ch) ; +4~_Ei[i
else ./Zk`-OBT
printf("%c is...") ?3`UbN:
:K,i\
外面再加个循环就行了