Function Detail:
• Age: required, number field is between 2 and 120.
Gender: required, default value is "Male".
Height: required, number field is greater than 0.
Weight: required, number field is greater than 0.
When the user clicks the "Clear" button, The system will clear the input fields.
When the user clicks the "Calculate" button:
• If "Age" is blank, Message Box will be shown "Please provide an age between 2 and 120".
• If "Age" data input is a number but not in range, Message Box will be shown "Inputdata for Age is out of range!".
• Similar validation for "Height" and "Weight" text box.
BMI (kg/m²) = ("Weight" * 10,000) / ("Height" * "Height")
If 20 < Age ≤ 120, Message Box will be shown "BMI for adults = <BMI> kg/m²<Classification>" (<Classificattion> will be replaced by the value according to the DMI table for adults)
Zoom
+ 110%
Close