0
if i enter 60 as weight in kg and 1.8 as height in meter the why the bmi is showing 60 instead of 18.51. Find the problem plz...
2 Respostas
+ 3
Square the height first, then do the division. See the difference ...
This is what happens
60 / 1.8 -> 33.333
33.333 * 1.8 -> 60
And this is what you want to happen
60 / ( 1.8 * 1.8 )
60 / ( 3.24 ) -> 18.51
+ 2
w/h*h=w
w(h*h)=bmi