Skip to content

Commit b760859

Browse files
author
Payman IB
committed
Fix console log statement formatting in BMI calculation
1 parent f5b79bf commit b760859

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ function calculateBMI(weight, height) {
1919
const bmi = weight / (height * height);
2020
return bmi.toFixed(1);
2121
}
22-
console.log(`The BMI of a person weighing 70kg and 1.73m tall is ${calculateBMI(70, 1.73)}`);
22+
console.log(`The BMI of a person weighing 70kg and 1.73m tall is ${calculateBMI(70, 1.73)}`);

0 commit comments

Comments
 (0)