int ch ; 4gC(zJ
ch=getche() ; aT IzfqCM
if((ch>='a') && (ch<='z')) dWiNe!oY2
printf("%c is a lowercase letter\n" ,ch); ZCj1Cz]"l<
else if ((ch>='A') && (ch<='Z')) ><D2of|
print(" %c is a uppercase letter\n" ,ch); =E]tEi
else if((ch>'0')&&(ch<'9') YcX"Z~O6j=
printf(" %c is a number character between 0 and 9\n" ,ch) ; lSaX!${R'T
else |yO%w #
printf("%c is...") =TNFAt
p *42
@1,
外面再加个循环就行了