int ch ; 4yA+h2
ch=getche() ; ^'{Fh"5
if((ch>='a') && (ch<='z')) fdi\hg^x
printf("%c is a lowercase letter\n" ,ch); p}pjfG
else if ((ch>='A') && (ch<='Z')) eF-."1
print(" %c is a uppercase letter\n" ,ch); !9VY|&fHe
else if((ch>'0')&&(ch<'9') -3Z,EaG^
printf(" %c is a number character between 0 and 9\n" ,ch) ; "CQa.%
else =wV<hg)C
printf("%c is...") m'=Crei
e)?
.r9pA;
外面再加个循环就行了