int ch ; G92Ya^`
ch=getche() ; 6WEYg
if((ch>='a') && (ch<='z')) Qyr^\a;k'
printf("%c is a lowercase letter\n" ,ch); ersddb^J]
else if ((ch>='A') && (ch<='Z')) Rs<li\GS
print(" %c is a uppercase letter\n" ,ch); o0Y
{k8
else if((ch>'0')&&(ch<'9') m4.IaBn/
printf(" %c is a number character between 0 and 9\n" ,ch) ; kCWaji_x%
else <TL!iM
printf("%c is...") a.r+>44M
~hSr06IY
外面再加个循环就行了