int ch ; Bk5ft4v-
ch=getche() ; ,Bj]j -\Y
if((ch>='a') && (ch<='z')) %1)J Rc
printf("%c is a lowercase letter\n" ,ch); Hro)m"
else if ((ch>='A') && (ch<='Z')) 5[~C!t;
print(" %c is a uppercase letter\n" ,ch); UU '9
else if((ch>'0')&&(ch<'9') ^}lL@Bd|
printf(" %c is a number character between 0 and 9\n" ,ch) ; m/`L3@7Tt
else .ZM0cwF
printf("%c is...") 4I2#L+W
qBZ;S3
外面再加个循环就行了