int ch ; >
:IWRc2
ch=getche() ; acR|X@\3
if((ch>='a') && (ch<='z')) o[T+/Ej&
printf("%c is a lowercase letter\n" ,ch); !6T"J!F#
else if ((ch>='A') && (ch<='Z')) ~?AEtl#&"
print(" %c is a uppercase letter\n" ,ch); PmRvjSIG
else if((ch>'0')&&(ch<'9') J+J,W5t^
printf(" %c is a number character between 0 and 9\n" ,ch) ; #uw&u6*\q
else *L$2M?xkY
printf("%c is...") U8w_C\Q
E5d$n*A
外面再加个循环就行了