BMI
how to create a code for body mass index in c#
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Nanhe SiddiquePosted Feb 12, 2015, 11:25 PM
BMI Formula (Metric Units)
If you are using the metric system, the formula to calculate BMI is a little different. In this BMI formula, you use kilograms and meters for a child's weight and height:So using the metric system, 'the formula for BMI is weight in kilograms divided by height in meters squared.'and if
BMI Categories:
Underweight = <18.5
Normal weight = 18.5–24.9
Overweight = 25–29.9
Obesity = BMI of 30 or greater
VulpesPosted Feb 12, 2015, 10:56 AM
double bmi = weight /height/height;
where weight and height are double values expressed in kilograms and meters, respectively.