(c) Time taken to cover horizontal distance $D$ with constant horizontal velocity, $t = D/v_{0}\cos\theta$. Taking vertical motion for time $t$, we have
$h = v_{0}\sin\theta \times t - \frac{1}{2}gt^{2}$
$= v_{0}\sin\theta \times \frac{D}{v_{0}\cos\theta} - \frac{1}{2}g\left( \frac{D}{v_{0}\cos\theta} \right)^{2}$
$= D\tan\theta - \frac{1}{2}\frac{gD^{2}}{v_{0}^{2}\cos^{2}\theta}$