“A rifle shot with a velocity of 270m/s at a target that is 400m away.if the shooter wants to directly hit target and what angle he must gire

Recall that the range is

r = v^2/g sin(2θ)

so, plug in your numbers and solve for θ.