Whenever you visit pediatrician, he always measures the height and weight of the baby in…