int ch ; N\p]+[6
ch=getche() ; yt:V+qdv
if((ch>='a') && (ch<='z')) ,s&~U<Z
printf("%c is a lowercase letter\n" ,ch); SJ^?D8
else if ((ch>='A') && (ch<='Z')) iDc|9"|Tf3
print(" %c is a uppercase letter\n" ,ch); ?Zp!AV
else if((ch>'0')&&(ch<'9') 2!?z%s-S
printf(" %c is a number character between 0 and 9\n" ,ch) ; X.9MOdG70
else de{YgN
printf("%c is...") tN> B$sv
z
]N~_9w
外面再加个循环就行了