Skip to content

Commit 081abeb

Browse files
Fixed BMI
1 parent 98a2d9c commit 081abeb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
// It should return a string of their Body Mass Index to 1 decimal place
1616

1717
function calculateBMI(weight, height) {
18-
return (height^2)(weight)
18+
const BMI=`BMI:${height^2}*${weight}`
19+
return BMI
1920
// return the BMI of someone based off their weight and height
2021
}

0 commit comments

Comments
 (0)