int ch ; T*O!r`.Ak
ch=getche() ; ~M+|g4W%
if((ch>='a') && (ch<='z')) ~E#>2Mh
printf("%c is a lowercase letter\n" ,ch); |Q.t]TR'P
else if ((ch>='A') && (ch<='Z')) i3N _wv{
print(" %c is a uppercase letter\n" ,ch); 8la.N*
else if((ch>'0')&&(ch<'9') iC$~v#2
printf(" %c is a number character between 0 and 9\n" ,ch) ; NSj}?hz
else ^[lg1uMW
printf("%c is...") NhXTt!S6C
eRv3qK{`
外面再加个循环就行了