int ch ; <RL]
ch=getche() ; Q*Pq{]0K
if((ch>='a') && (ch<='z')) H/M@t\$Dc
printf("%c is a lowercase letter\n" ,ch); 3.y vvPFEM
else if ((ch>='A') && (ch<='Z')) }qD\0+`qi
print(" %c is a uppercase letter\n" ,ch); 5=ryDrx
else if((ch>'0')&&(ch<'9') Q^")jPd
printf(" %c is a number character between 0 and 9\n" ,ch) ; Y}wyw8g/
else oUlVI*~ND
printf("%c is...") A*BeR0(
Cw&KVw*
外面再加个循环就行了