int ch ; \G= E%aK
ch=getche() ; /-hF<oNQ
if((ch>='a') && (ch<='z')) )>Q 2G/@
printf("%c is a lowercase letter\n" ,ch); 2 Lamvf
else if ((ch>='A') && (ch<='Z')) (k5DbP[
print(" %c is a uppercase letter\n" ,ch); XF7W'^
else if((ch>'0')&&(ch<'9') }g*-Ty
printf(" %c is a number character between 0 and 9\n" ,ch) ; 9V],X=y~
else vaf9b}FL
printf("%c is...") VA%"IAl
>#:/
GN?
外面再加个循环就行了