I need objective-C syntax for calculating bmi

Posted by Umaid on Stack Overflow See other posts from Stack Overflow or by Umaid
Published on 2010-06-13T12:28:47Z Indexed on 2010/06/13 14:12 UTC
Read the original article Hit count: 197

Filed under:
|

Actually I am working on bmi calculator. Where I would like to calculate bmi for height in inches and weight in lbs and also in need of correct formula for height in cm and weight in kgs.

I have tried but couldn't calculate actual value coming withing the range as below. It exceeds the range.

BMI Categories:

* Underweight = <18.5
* Normal weight = 18.5-24.9
* Overweight = 25-29.9
* Obesity = BMI of 30 or greater

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c