Thursday, September 27, 2012

Homework 2 - bmi.bas

Write a program called bmi.bas which will allow users to input their height and weight and which will use those values to calculate their Body Mass Index.

Body Mass Index is used to determine if a person is at a healthy weight. BMI is calculated

where
w = weight in kilograms and
h = height in meters

Conversion Factors
pounds to kilograms = 0.45359237
inches to meters = 0.0254


Sample Output
Here is a screenshot of my code running.

Homework assignment #2 - output


Due Date:
Tuesday, October 2nd, 8am