Exercise 8: Body Mass Index Write a program that computes the body mass index (BMI) of an individual. Your program should begin by reading a height and weight from the user. Then it should use one of...


Python


Exercise 8: Body Mass Index<br>Write a program that computes the body mass index (BMI) of an individual. Your program should begin<br>by reading a height and weight from the user. Then it should use one of the following two formulas to<br>compute the BMI before displaying it. If you read the height in inches and the weight in pounds, then<br>body mass index is computed using the following formula:<br>W<br>x 703<br>h2<br>BMI =<br>If you read the height in meters and the weight in kilograms, then body mass index is computed using this<br>slightly simpler formula:<br>W<br>BMI<br>%3D<br>h²<br>

Extracted text: Exercise 8: Body Mass Index Write a program that computes the body mass index (BMI) of an individual. Your program should begin by reading a height and weight from the user. Then it should use one of the following two formulas to compute the BMI before displaying it. If you read the height in inches and the weight in pounds, then body mass index is computed using the following formula: W x 703 h2 BMI = If you read the height in meters and the weight in kilograms, then body mass index is computed using this slightly simpler formula: W BMI %3D h²

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here