Curvature, diameter and betti numbers

We give an upper bound for the Betti numbers of a compact Riemannian manifold in terms of its diameter and the lower bound of the sectional curvatures. This estimate in particular shows that most manifolds admit no metrics of non-negative sectional curvature.