int ch ; 4gya]
ch=getche() ; DUhT>,~]
if((ch>='a') && (ch<='z')) h&P
{p _Y
printf("%c is a lowercase letter\n" ,ch); 4a?r` '
else if ((ch>='A') && (ch<='Z')) Gn[ *?=Vy
print(" %c is a uppercase letter\n" ,ch); z
7@ 'CJ
else if((ch>'0')&&(ch<'9') e lay
=%)
printf(" %c is a number character between 0 and 9\n" ,ch) ; 9ClF<5?M
else 4M7^
[G
printf("%c is...") Op90NZI#K
);!dg\U
外面再加个循环就行了