Effect of the average scalar curvature on Riemannian manifolds