int ch ; bBA
#o\[
ch=getche() ; T{-<G13
if((ch>='a') && (ch<='z')) xp<\7m_N
printf("%c is a lowercase letter\n" ,ch); CBz$N) f
else if ((ch>='A') && (ch<='Z')) *Y8nea^$
print(" %c is a uppercase letter\n" ,ch); T|RW-i3
else if((ch>'0')&&(ch<'9') w7aC=B/{?i
printf(" %c is a number character between 0 and 9\n" ,ch) ; <2@V$$Qg.~
else <3i2(k
printf("%c is...") ;/T=ctIs
k`ulDQu
外面再加个循环就行了