Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to calculate bmi

function calculateBMI(height, weight) {
	return weight / height ** 2
}

console.log(calculateBMI(1.8, 70))
 
PREVIOUS NEXT
Tagged: #calculate #bmi
ADD COMMENT
Topic
Name
2+6 =