int ch ; @vss:'l
ch=getche() ; {2vk<
if((ch>='a') && (ch<='z')) !lKO|Y
printf("%c is a lowercase letter\n" ,ch); ^o_2=91
else if ((ch>='A') && (ch<='Z')) |Up+Kc:z/n
print(" %c is a uppercase letter\n" ,ch); jA$g0>
else if((ch>'0')&&(ch<'9') 8V >j-C
printf(" %c is a number character between 0 and 9\n" ,ch) ; U[*VNJSp
else =${]j
printf("%c is...") gV$j ]
`utv@9 _z
外面再加个循环就行了