English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

try to do a project to cal. the bmi in visual basic

2007-04-30 11:53:30 · 1 answers · asked by faith 1 in Computers & Internet Programming & Design

1 answers

English BMI Formula
BMI = ( Weight in Pounds / ( Height in inches ) x ( Height in inches ) ) x 703

Metric BMI Formula
BMI = ( Weight in Kilograms / ( Height in Meters ) x ( Height in Meters ) )

Create a form with two text box, labels with Height and Weight -- add a hidden label and a submit button

On button click, set the invisible label.text to the textbox.text value.

Insert it into the calculation.

Then set the hidden Label visibile to true.

2007-04-30 12:05:17 · answer #1 · answered by strayinma 4 · 0 0

fedest.com, questions and answers