Skip to content

Commit 53dfb73

Browse files
committed
Completed mandatory implement 1
1 parent ae15e29 commit 53dfb73

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sprint-2/3-mandatory-implement/1-bmi.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@
1616

1717
function calculateBMI(weight, height) {
1818
// return the BMI of someone based off their weight and height
19+
return (weight/(height**2)).toFixed(1);
1920
}

0 commit comments

Comments
 (0)