double bmi = weight / Math.pow(height, 2);
if (bmi < 18.5)
else if (bmi < 25)
else if (bmi < 28)
else if (bmi < 32)
else
//全部统一左闭右开
Sign in to make a reply
黯然
double bmi = weight / Math.pow(height, 2);
if (bmi < 18.5)
else if (bmi < 25)
else if (bmi < 28)
else if (bmi < 32)
else
//全部统一左闭右开