Body mass index (BMI) is a value derived from the mass (weight) and height of a person. It is a convenient rule of thumb used to broadly categorize a person as underweight, normal weight, overweight, or obese.
The BMI is defined as![](/wiki/plugins/servlet/confluence/placeholder/unknown-macro?name=mathinline&locale=en_US&version=2)
Your task is to create a sheet where you can calculate your BMI by entering your name, height and weight. The calculated BMI should be displayed by the click of a button. A draft to a finished solution is shown below.
![](/wiki/download/attachments/151453857/image2019-7-27_12-48-4.png?version=1&modificationDate=1564224484000&api=v2)
Commonly accepted BMI ranges are:
| |
---|
Underweight | < 18.5 |
Normal weight | 18.5 - 25 |
Overweight | 25 - 30 |
Obese | > 30 |