That is not a definition of BMI that I am familiar with. Normally, it is:
mass/(height)^2
I think it is important for you to specify units in your prompts. I entered my weight in pounds and my waist in inches -- and your code has declared me obese! Considering a friend recently likened my physique to that of a typical Boston Marathon champion, I'd say something is definitely askew.
In reply to Re: Body Mass Index Calculator
by toolic
in thread Body Mass Index Calculator
by naildownx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |