int ch ; z,M'Tr.1|
ch=getche() ; (
-xR7A
if((ch>='a') && (ch<='z')) *WD;C0?z
printf("%c is a lowercase letter\n" ,ch); v)%[
else if ((ch>='A') && (ch<='Z')) I>d I[U
print(" %c is a uppercase letter\n" ,ch); G^ K*+
else if((ch>'0')&&(ch<'9') H'D#s;SlR
printf(" %c is a number character between 0 and 9\n" ,ch) ; i+U@\:=
else Q;=6ag'
printf("%c is...") a (P^e)<
TS/Cp{
外面再加个循环就行了