int ch ; >fkV65w{*
ch=getche() ; f}ch1u>
if((ch>='a') && (ch<='z')) fjuPGg~
printf("%c is a lowercase letter\n" ,ch); *#@{&Q(Qh
else if ((ch>='A') && (ch<='Z')) ,:V[H8 ?
print(" %c is a uppercase letter\n" ,ch); 1:./f|m
else if((ch>'0')&&(ch<'9') I?%#`Rvu
printf(" %c is a number character between 0 and 9\n" ,ch) ; AUfcf*
else [;'$y:L=g
printf("%c is...") !ZCxi
Z[,,(M
外面再加个循环就行了