2008年6月27日 星期五

BMI cacluate

題目
請寫出一個程式可接受使用者輸入體重與身高 並計算出BMI值?

Body Mass Index (BMI) is a number calculated from a person weight and height. BMI provides a reliable indicator of body fatness for most people and is used to screen for weight categories that may lead to health problems.

w = 體重,單位:公斤;
h = 身高,單位:;


........BMI...........Weight Status

......Below 18.5 ......Underweight

.....18.5 – 24.9 ..........Normal
......25.0 – 29.9 .......Overweight
..30.0 and Above .......Obese






如果你對BMI有興趣,可以參考BMI

沒有留言: