Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BMI = KG / ((CM / 100) ^ 2)
- Label5.Text = BMI
- If RadioButton1.Checked = True Then
- Normal = (CM - 80) * 0.7
- If BMI <= 27.8 Then
- Label6.Text = "標準身材"
- Label8.Text = Normal
- Else
- Label6.Text = "肥胖身材"
- Label8.Text = Normal
- End If
- Else
- If BMI <= 27.3 Then
- Normal = (CM - 70) * 0.6
- Label6.Text = "標準身材"
- Label8.Text = Normal
- Else
- Label6.Text = "肥胖身材"
- Label8.Text = Normal
- End If
- End If
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement