int ch ; HmV JkkksJ
ch=getche() ; 08$l=
if((ch>='a') && (ch<='z')) "-Uqv@
printf("%c is a lowercase letter\n" ,ch); >BjZ{7?Ok
else if ((ch>='A') && (ch<='Z')) hAB:;r XlI
print(" %c is a uppercase letter\n" ,ch); 3ZAzv en
else if((ch>'0')&&(ch<'9') `)H|
&!wT
printf(" %c is a number character between 0 and 9\n" ,ch) ; x&gS.b*
else !/"y
printf("%c is...") +7t: /_b~
S3dcE"hg
外面再加个循环就行了