int ch ; ~R!M.gY[rK
ch=getche() ; B=p6pf
if((ch>='a') && (ch<='z')) swGp{wJ
printf("%c is a lowercase letter\n" ,ch); ~?#B(t
else if ((ch>='A') && (ch<='Z'))
+91j 1?
print(" %c is a uppercase letter\n" ,ch); VvSe`E*
else if((ch>'0')&&(ch<'9') *eLKD_D`!C
printf(" %c is a number character between 0 and 9\n" ,ch) ; X@j.$0eK
else k6b0&il
printf("%c is...") @V>BG8Y
CfMCc:8mL
外面再加个循环就行了