% Calculates the BMI of a single person
clear 
wt_lbs = 205 ;
ht_ft = 6 ;
ht_in = 4 ;
tot_ht_in = ht_in + ht_ft*12 ;      % total height in inches
ht_m  = 0.0254 * tot_ht_in          % total height in meters
wt_kg = wt_lbs / 2.2                % weight in kilograms
bmi = wt_kg/ht_m^2                  % The BMI result