Your approach so far is good, but check your integral, it's not correct (or you might have made a typo). Second, the integral gives you v(y), and you know v(y=0) is the initial velocity, which is given in the problem. That allows you to calculate C. Finally, when the bullet is at its final height, its velocity will be zero. This tells you how to find the final height.