Example: Body Mass Index
The body mass index is defined as 4.89 times weight in lbs divided by height in feet squared (kg/m2)
What is the body mass index procedure?
- Name -- findBMI
- Definition -- 4.89 * weightLBS / ((heightIN / 12) ^ 2)
- Parameters -- weightLBS, heightIN, bodyMass
- Declaration --
Private Sub findBMI(weightLBS As Integer, heightIN As Integer, _
bodyMass = 4.89 * weightLBS / ((heightIN / 12) ^ 2)