int ch ; ()EiBl(kWk
ch=getche() ; KqWt4{\8v`
if((ch>='a') && (ch<='z')) w4;1 ('
printf("%c is a lowercase letter\n" ,ch); b^&nr[DC
else if ((ch>='A') && (ch<='Z')) 2~!+EH
print(" %c is a uppercase letter\n" ,ch); +#7)'c
else if((ch>'0')&&(ch<'9') T']G:jkb
printf(" %c is a number character between 0 and 9\n" ,ch) ; 2PEA<{u
else pa6-3c
printf("%c is...") F)uS2
]|K@0,
外面再加个循环就行了