int ch ; 1X2MhV
ch=getche() ; ^{nf0 )56c
if((ch>='a') && (ch<='z')) ,\q9>cZ!
printf("%c is a lowercase letter\n" ,ch); 7{=/rbZT?
else if ((ch>='A') && (ch<='Z')) FjqoO.
print(" %c is a uppercase letter\n" ,ch); SYRr|Lg
else if((ch>'0')&&(ch<'9') \\XvVi:B
printf(" %c is a number character between 0 and 9\n" ,ch) ; ra=U,
else |uId:^{
printf("%c is...") wUj[c7Y%
fqA\Rp6Z
外面再加个循环就行了