Question: using python Question 1: (Textbook P82, Q40): Body mass index (BMI) is a number calculated from a person's weight and height. According to the Centers

using python
using python Question 1: (Textbook P82, Q40): Body mass index (BMI) is

Question 1: (Textbook P82, Q40): Body mass index (BMI) is a number calculated from a person's weight and height. According to the Centers for Disease Control and Prevention, the BMI is a fairly reliable indicator of body fatness for most people. The formula for BMI is: weight/height? (where weight is in kilograms and height is in meters) A. Write a program that prompts for metric weight and height and outputs the BMI. For example, an execution could look like this: Please enter weight in kilograms: 50 Please enter height in meters: 1.58 BMI is: 20.0288415 B. Write a program that prompts for weight in pounds and height in inches, converts the values to metric, and then calculates the BMI. Note: 1 pound is equal to 0.453592 kilograms and 1 inch is equal to 0.0254 meters. For example, an execution could look like this: Please enter weight in pounds: 135 Please enter height in inches: 71 BMI is: 18.8284 9431

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!