int ch ; vDy&sgS$<
ch=getche() ; _;<!8e$C
if((ch>='a') && (ch<='z')) lOIk$"Ne
printf("%c is a lowercase letter\n" ,ch); >4 OXG7.&f
else if ((ch>='A') && (ch<='Z')) ao(T81
print(" %c is a uppercase letter\n" ,ch); ON ?Y
Df
else if((ch>'0')&&(ch<'9') D$>_W ,*V
printf(" %c is a number character between 0 and 9\n" ,ch) ; ,pNx(a
else 5pO|^Gj1
printf("%c is...") X1L@
G
K%^n.
外面再加个循环就行了