Computer Science, asked by suhani5339, 1 month ago

Write a program to calculate the BMI of a person. If BMI is more than 25 display the message “Over weight” and if BMI is less than 18 display the message “Under Weight”. (BMI = Weight/Height2)​

Answers

Answered by JasmineSelvia38
0

Answer:

Background: Ideal body weight (IBW) equations and body mass index (BMI) ranges have both been used to delineate healthy or normal weight ranges, although these 2 different approaches are at odds with each other. In particular, past IBW equations are misaligned with BMI values, and unlike BMI, the equations have failed to recognize that there is a range of ideal or target body weights. Objective: For the first time, to our knowledge, we merged the concepts of a linear IBW equation and of defining target body weights in terms of BMI. Design: With the use of calculus and approximations, we derived an easy-to-use linear equation that clinicians can use to calculate both IBW and body weight at any target BMI value. We measured the empirical accuracy of the equation with the use of NHANES data and performed a comparative analysis with past IBW equations. Results: Our linear equation allowed us to calculate body weights for any BMI and height with a mean empirical accuracy of 0.5–0.7% on the basis of NHANES data. Moreover, we showed that our body weight equation directly aligns with BMI values for both men and women, which avoids the overestimation and underestimation problems at the upper and lower ends of the height spectrum that have plagued past IBW equations. Conclusions: Our linear equation increases the sophistication of IBW equations by replacing them with a single universal equation that calculates both IBW and body weight at any target BMI and height. Therefore, our equation is compatible with BMI and can be applied with the use of mental math or a calculator without the need for an app, which makes it a useful tool for both health practitioners and the general public.  

Explanation:

#CARRY_ON_LEARNING

Similar questions