int ch ; oq(W|
ch=getche() ; |{rhks~
if((ch>='a') && (ch<='z')) |_a^+!P
printf("%c is a lowercase letter\n" ,ch); _Ecs{'k
else if ((ch>='A') && (ch<='Z')) I,r0K]
print(" %c is a uppercase letter\n" ,ch); `*i:z'
else if((ch>'0')&&(ch<'9') 8rNf4]5@X(
printf(" %c is a number character between 0 and 9\n" ,ch) ; -.Zy(
else y-Lm^GW4
printf("%c is...") J?jxD/9Yb
Iomx"y]9
外面再加个循环就行了