Programming+Task+2-+BMI+Calculator

When personal trainers try to measure how "in shape" a person is, one place they might start is by looking at the person's Body-Mass-Index, or BMI. BMI can be calculated using the formula: BMI = mass / height^2, where mass is in kg, and height is in m. (^2 means squared!) However, knowing your BMI is not that helpful, because it is just a number. Instead, you can convert your BMI into a more meaningful result using this table:
 * BMI || Result ||
 * BMI < 18.5 || Underweight ||
 * 18.5 <=BMI < 25 || Normal weight ||
 * BMI >= 25 || Overweight ||

Your task is to make a BMI calculator. You must give a place for the person to input their mass and height, and the final result from the chart should be printed in the output box. The result should be in a full sentence.

Here is an example that is similar, but not exactly the same as what I am looking for. You will only have one screen and your output should go into a text box. Also, you should not have an "activity chart." media type="file" key="BMICalc.swf" width="462" height="462"

Marking Scheme: 5 marks - interface has required elements as described above and looks professional. 5 marks - all interface elements are named appropriately 5 marks - code runs and works as expected, no output appears in the output box in Flash 5 marks - code is easy to read (whitespace/indenting are used appropriately) and variable names are appropriate 5 marks - calculations are correct and variables are used appropriately to store data 5 marks - the following items are in comments: Name is at the top of the program, Brief description of the program is at the top of the program, comments are given throughout the program to explain how the program works