int ch ; %tC[q
ch=getche() ; SGba6b31
if((ch>='a') && (ch<='z')) EwgNd Gcj
printf("%c is a lowercase letter\n" ,ch); >j*0fb!:]
else if ((ch>='A') && (ch<='Z')) F9d6#~
print(" %c is a uppercase letter\n" ,ch); CfD4m,6
else if((ch>'0')&&(ch<'9') %_CL/H
printf(" %c is a number character between 0 and 9\n" ,ch) ; ?<Hgq8J
else ZX.,<vumSy
printf("%c is...") vu}U2 0@
vILB$%I
外面再加个循环就行了