.
The solution / (the calculations) in the post by @mananth are INCORRECT.
I came to bring you a correct solution.
Vertical component of the initial velocity is = 40*sin(55°) = 40*0.8189 = 32.75 m/s.
The time for water to get the maximum height is = = = 3.28 seconds.
The time of the flight is (assuming that the hose is at the ground level)
= = 2*3.28 = 6.55 seconds.
The maximum height = = = 53.8 meters.
----------
What is "the range" in your last question is unclear to me, so I stop my solution at this point.