If the ground is flat, and there is no wind, and there are no other influences
to mess up the behavior of gravity, then you always get the maximum range
from a shot launched 45 degrees above the horizon. That means half-way
between level and straight up.