int ch ; Z= P=oldH
ch=getche() ; [+v}V ,jb
if((ch>='a') && (ch<='z')) f<G:}I
printf("%c is a lowercase letter\n" ,ch); `F1 ( v
else if ((ch>='A') && (ch<='Z')) w`OHNwXh#I
print(" %c is a uppercase letter\n" ,ch); ^!>o5Y)
else if((ch>'0')&&(ch<'9') ]Q\/si&
printf(" %c is a number character between 0 and 9\n" ,ch) ; &\o!-EIK8
else !U!}*clYL
printf("%c is...") nLjo3yvV..
p![CH
外面再加个循环就行了