Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 21a5315

Browse files
Update and rename index.js to bmiCalculator.js
BMI Calculator
1 parent 240cb81 commit 21a5315

File tree

2 files changed

+8
-183
lines changed

2 files changed

+8
-183
lines changed

‎bmiCalculator.js‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// Method-1
2+
3+
function bmiCalculator(weight,height){
4+
var bmi= weight/(height*height)
5+
return Math.round(bmi);
6+
}
7+
8+
// Method-2

‎index.js‎

Lines changed: 0 additions & 183 deletions
This file was deleted.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /