Question: Problem Description: Write an interactive application called a03.py in Python to calculate a persons body mass index. Body Mass Index (BMI) is a recognized measure

Problem Description:

Write an interactive application called a03.py in Python to calculate a persons body mass index. Body Mass Index (BMI) is a recognized measure of healthy body weight versus height. For more details look here: Body Mass Index.

The relevant formula is BMI = weight (lbs) * 703 / (height (in) * height (in))

Note: You can check your result here https://www.nhlbi.nih.gov/health/educational/lose_wt/BMI/bmicalc.htm

Inputs

It should take as input the height in feet and inches, and the weight in pounds. You may use integers for this assignment. There is no need to use floats at this time.

Output

It should output the body mass index (BMI).

Example of output

Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:01:18) [MSC v.1900 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. >>>

====================== RESTART: C:/Temp/a02.py ==========================

Please enter your height in feet: 5 ...

and inches: 6

Please enter your weight in pounds: 144

Your BMI is 23.239669421487605

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!