int ch ; eR5q3E/;G
ch=getche() ; \A\
if((ch>='a') && (ch<='z')) k8}fKVU;
printf("%c is a lowercase letter\n" ,ch); 1$E [`` n
else if ((ch>='A') && (ch<='Z')) ZrEou}z(*
print(" %c is a uppercase letter\n" ,ch); YX,;z/Jw2
else if((ch>'0')&&(ch<'9') 33lh~+C
printf(" %c is a number character between 0 and 9\n" ,ch) ; Uz_ob9l<#H
else qbq2Bi'a
printf("%c is...") Zj]tiN f\"
npkT>dB+
外面再加个循环就行了