Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

(Health application: compute BMI) Body mass index (BMI) is a measure of health b

ID: 3884259 • Letter: #

Question

(Health application: compute BMI) Body mass index (BMI) is a measure of health based on weight. It can be calculated by taking your weight in kilograms and dividing it by the square of your height in meters. Write a program that prompts the user to enter a weight in pounds and height in inches and displays the BMI.

BMI= weight in kilograms / (Height in Meters)^2

Weight(mass) in Kilograms= Weight(mass) in Pounds * 0.454

Height(length) in Meters= Height(length) in Inches * 0.0254

must be done in python

Explanation / Answer

height_in_inches = float(input("enter your height in inches: "))
weight_in_pounds = float(input("enter your weight in pounds: "))
height=height_in_inches*0.0254;
weight=weight_in_pounds*0.454;
print("Your BMI is: ", (weight / (height * height)))