int ch ; `x2,;h!:)N
ch=getche() ; >f%, `r
if((ch>='a') && (ch<='z')) AAo0M/U'
printf("%c is a lowercase letter\n" ,ch); y!hi"!
else if ((ch>='A') && (ch<='Z')) Gnv!]c&S>l
print(" %c is a uppercase letter\n" ,ch); *m&%vj.Kc
else if((ch>'0')&&(ch<'9') K:a3+k d
printf(" %c is a number character between 0 and 9\n" ,ch) ; X Ny
Y$
else @ t|3gF$X
printf("%c is...") f~R[&q+
O{u[+g
外面再加个循环就行了