int ch ; 2B5Ez,'#x
ch=getche() ; }}bMq.Q'
if((ch>='a') && (ch<='z')) =J]M#6N0
printf("%c is a lowercase letter\n" ,ch); 9W-1P}e,
else if ((ch>='A') && (ch<='Z')) 8"p rWAN
print(" %c is a uppercase letter\n" ,ch); |:,`dQfw
else if((ch>'0')&&(ch<'9') 1H-~+lf
printf(" %c is a number character between 0 and 9\n" ,ch) ; N#@v`S
else '8FHn~F
printf("%c is...") .v-2A);I
r]]:/pw?t
外面再加个循环就行了