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
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