int ch ; $<#sCrNX
ch=getche() ; /J:j'6
if((ch>='a') && (ch<='z')) )$i3j
1[;
printf("%c is a lowercase letter\n" ,ch); D.}b<kDD
else if ((ch>='A') && (ch<='Z')) :
Dlk`?
print(" %c is a uppercase letter\n" ,ch); &3. 8i%
else if((ch>'0')&&(ch<'9') :'=C/AL
printf(" %c is a number character between 0 and 9\n" ,ch) ; i=UJ*c
else }mK_d9d x
printf("%c is...") 4#uoPkLK
o%iTYR:x
外面再加个循环就行了