int ch ; #Bn7Cc
ch=getche() ; ;{>-K8=>$
if((ch>='a') && (ch<='z')) U./1OZ&
printf("%c is a lowercase letter\n" ,ch); "l09Ae'V
else if ((ch>='A') && (ch<='Z')) ;%i.@@:IQ
print(" %c is a uppercase letter\n" ,ch); hRN>]e,!
else if((ch>'0')&&(ch<'9') n)teX.ck)
printf(" %c is a number character between 0 and 9\n" ,ch) ; obIYC
else h|=&a0
printf("%c is...") 3PZwz^oRh9
9=^4p=1J
外面再加个循环就行了