int ch ; WE.$a t{*h
ch=getche() ; $vTAF-~Ql
if((ch>='a') && (ch<='z')) eN]>l
printf("%c is a lowercase letter\n" ,ch); JIP+ !2
else if ((ch>='A') && (ch<='Z')) [<Os~bfOv
print(" %c is a uppercase letter\n" ,ch); Wm$`ae
else if((ch>'0')&&(ch<'9') ,5\2C{
printf(" %c is a number character between 0 and 9\n" ,ch) ; Q$3\ /mz
else LmXF`Y$
printf("%c is...") o=-Vt,2{
+dCDM1{_a
外面再加个循环就行了