Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions challenge.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
// Good Luck! You got this 💪🏾
// Write your code here.
function BMI(weight,height){
bmi = weight / (height * height)
return`this person has a weight of ${weight} and a height of ${height} thus their BMI Is ${bmi}`
}

let ali = BMI(50,1.8);
console.log(ali);
let mohamed = BMI(53,1.6);
console.log(mohamed);