int ch ; ;,Of\Efc|
ch=getche() ; D2>hMc
if((ch>='a') && (ch<='z')) ({D}QEP
printf("%c is a lowercase letter\n" ,ch); 7}2sIf[I
else if ((ch>='A') && (ch<='Z')) Dq0-Kf,^
print(" %c is a uppercase letter\n" ,ch); bd@*vu}?}
else if((ch>'0')&&(ch<'9') %s~NQ;Y
printf(" %c is a number character between 0 and 9\n" ,ch) ; N1D6D$s 0
else 8o*\W$K@
printf("%c is...") 5KL9$J9k
<^H1)=tlF
外面再加个循环就行了