Prescribing scalar curvature in warped product