Commit ccccc5a
committed
In this , i make the height squared and then divide the weight by the height squared to get the BMI. I also used the toFixed method to round the BMI to one decimal place.
1 parent 36a8256 commit ccccc5a
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
| 23 | + | |
| 24 | + | |
0 commit comments