Skip to content

Commit 7ea52ff

Browse files
committed
fix formatting with prettier
1 parent 7806bc1 commit 7ea52ff

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616

1717
function calculateBMI(weight, height) {
1818
// return the BMI of someone based off their weight and height
19-
const bmi = Math.round(weight / (height * height) * 10) / 10;
19+
const bmi = Math.round((weight / (height * height)) * 10) / 10;
2020

2121
return bmi;
2222
}
2323

2424
console.log(calculateBMI(70, 1.73)); // Output: 23.4
2525
console.log(calculateBMI(80, 1.8)); // Output: 24.7
26-
console.log(calculateBMI(60, 1.6)); // Output: 23.4
26+
console.log(calculateBMI(60, 1.6)); // Output: 23.4

Sprint-2/3-mandatory-implement/2-cases.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ function toUpperSnakeCase(inputString) {
2323
}
2424

2525
console.log(toUpperSnakeCase("hello there")); // Output: "HELLO_THERE"
26-
console.log(toUpperSnakeCase("lord of the rings")); // Output: "LORD_OF_THE_RINGS"
26+
console.log(toUpperSnakeCase("lord of the rings")); // Output: "LORD_OF_THE_RINGS"

0 commit comments

Comments
 (0)