What is the value of the velocity of the ball when it reaches its maximum height?
Also remember that the acceleration of the projectile is 9.8 ms-2 towards the ground throughout the trajectory, even at the very top. Notice that at the maximum height the vertical velocity is zero and that the acceleration due to gravity is negative since it acts to the ball