Cody

Problem 44945. Calculate BMI

Given a matrix hw (height and weight) with two columns, calculate BMI using these formulas:

  • 1 kilogram = 2.2 pounds
  • 1 inch = 2.54 centimeters
  • BMI = weight(kg) / [height(m)]^2

The first column is the height in inches. The second column is the weight in pounds.

Solution Stats

21.59% Correct | 78.41% Incorrect
Last solution submitted on Oct 21, 2019