Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started