int ch ; .,i(2^
ch=getche() ; jV/CQM5a+
if((ch>='a') && (ch<='z')) `Bw9O%]-S
printf("%c is a lowercase letter\n" ,ch); 1TM~*<Jb
else if ((ch>='A') && (ch<='Z')) Ka|eFprS
print(" %c is a uppercase letter\n" ,ch); 0vGyI>
else if((ch>'0')&&(ch<'9') W{5:'9,
printf(" %c is a number character between 0 and 9\n" ,ch) ; om3`[r[{
else NJ MJ
printf("%c is...") `$604+G
m3^/:<
外面再加个循环就行了