There was an error while loading. Please reload this page.
1 parent 6e6c005 commit 138d0a2Copy full SHA for 138d0a2
1 file changed
Sprint-2/3-mandatory-implement/1-bmi.js
@@ -18,4 +18,6 @@ function calculateBMI(weight, height) {
18
// return the BMI of someone based off their weight and height
19
const bmi = (weight / height **2);
20
return bmi.toFixed(1);
21
-}
+}
22
+
23
+console.log(calculateBMI(90, 1.80));
0 commit comments