File tree Expand file tree Collapse file tree
Sprint-2/3-mandatory-implement Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77// squaring your height: 1.73 x 1.73 = 2.99
88// dividing 70 by 2.99 = 23.41
9- // Your result will be displayed to 1 decimal place, for example 23.4.
9+ // Your result will be displayed to 1 decimal place, for example ' 23.4' .
1010
1111// You will need to implement a function that calculates the BMI of someone based off their weight and height
1212
1313// Given someone's weight in kg and height in metres
1414// Then when we call this function with the weight and height
15- // It should return their Body Mass Index to 1 decimal place
15+ // It should return a string of their Body Mass Index to 1 decimal place
1616
1717function calculateBMI ( weight , height ) {
18- // return the BMI of someone based off their weight and height
19- }
18+ // return the BMI of someone based off their weight and height
19+ }
You can’t perform that action at this time.
0 commit comments