Skip to content

Commit 9e097c2

Browse files
update the height of the person 1.73 and update the comment 24
1 parent 9dcb6ac commit 9e097c2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ function calculateBMI(weight, height) {
2020
const bmi = weight/squared_height;
2121
return bmi.toFixed(1);
2222
}
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'.
23+
console.log(`The BMi of the person is ${calculateBMI(70,1.73)}`);
24+
// The output of the program is 'The BMi of the person is 23.4'.

0 commit comments

Comments
 (0)