There was an error while loading. Please reload this page.
1 parent 9dcb6ac commit 9e097c2Copy full SHA for 9e097c2
1 file changed
Sprint-3/3-mandatory-implement/1-bmi.js
@@ -20,5 +20,5 @@ function calculateBMI(weight, height) {
20
const bmi = weight/squared_height;
21
return bmi.toFixed(1);
22
}
23
-console.log(`The BMi of the person is ${calculateBMI(70,2.99)}`);
24
-// The output of the program is 'The BMi of the person is 7.8'.
+console.log(`The BMi of the person is ${calculateBMI(70,1.73)}`);
+// The output of the program is 'The BMi of the person is 23.4'.
0 commit comments