If you were successful, you either knew the physics already or you learned something fundamental: The horizontal motion of the projectile is independent of the vertical motion. For a horizontal launch angle, the launch speed needed to hit the target was unaffected by gun altitude and gravitational field strength. For a different launch angle, it was only necessary to change the magnitude of the launch velocity so that its horizontal component remained unchanged.