int ch ; V1+IqOXAIp
ch=getche() ; |:AjQ&PM)
if((ch>='a') && (ch<='z')) 0Bll6Rd
printf("%c is a lowercase letter\n" ,ch); !j(R_wOq
else if ((ch>='A') && (ch<='Z')) ]b[3 th*
print(" %c is a uppercase letter\n" ,ch); ?lTQjw{
else if((ch>'0')&&(ch<'9') &CS= *)>$
printf(" %c is a number character between 0 and 9\n" ,ch) ; BjShK+Y
else hk~s1"
printf("%c is...") f~53:;L/
=Ij;I~
外面再加个循环就行了