Skip to content

Commit 8613d97

Browse files
committed
Add BMI calculation with structuring
1 parent b5f6fa6 commit 8613d97

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,6 @@ function formatBMI(bmi){
2626
// return the BMI of someone based off their weight and height
2727
}
2828

29-
29+
const bmiFurMath = calculateBMI(70, 1.73) + 7;
30+
const displayBMI = formatBMI(bmiFurMath);
31+
console.log(`The Body Mass Index is: ${displayBMI}`);

0 commit comments

Comments
 (0)