int ch ; ZO0]+Ko
ch=getche() ; lnC Wu@{
if((ch>='a') && (ch<='z')) |tJ%:`DGw
printf("%c is a lowercase letter\n" ,ch); #`L}.
else if ((ch>='A') && (ch<='Z')) &eS70hq
print(" %c is a uppercase letter\n" ,ch); 6'*Uo:]
else if((ch>'0')&&(ch<'9') /uz5V/i0
printf(" %c is a number character between 0 and 9\n" ,ch) ; ?N?pe}
else = SJF\Z
printf("%c is...") %iS]+Sa.K
+2fJ
外面再加个循环就行了