Question: Python Program Ultimate Health Tracker Body Mass Index ( BMI ) is a measure of health based on height and weight. It can be calculated
Python Program
Ultimate Health Tracker
Body Mass Index BMI is a measure of health based on height and weight. It can be calculated by taking
your weight in kilograms and dividing it by the square of your height in meters. The interpretation of BMI
for people years or older is as follows:
Suppose Ultimate Health Tracker is a memberbased fitness center that provides customized wellness plans to help
members maintain the proper weight level. They use BMI as the main measurement to decide whether a
customer needs to gain or lose weight. Their goal is to help customers maintain a BMI level between
and Ultimate Health Tracker has kept members' information on a paperbased file system. Recently, they decided to
digitalize all the members' information and move to a computerbased system eventually.
Below are requirement for the system ie software:
Within the system, each member will have a digital profile containing the member's name, age,
weight in pounds and height in inches
The administrator may need to update member's weight over time.
To minimize the maintained workload, the ages should be automatically updated as the year
advances. Eg if member A was years old in then As age should be automatically
updated to in
Task:
Design the prototype of this system mentioned above using Python. Each member profile can be an
instance of a Member class.
You will need an instance method to update the members weight and an instance method to access the
members age.
To update ages automatically, you might NOT want to keep the age for each member. Instead, you might
keep the yearofbirth for each member. In such a way, when you need to get the age, you may simply
use currentyear yearofbirth.
Create inputs for the following so the fitness center employees can enter each members:
name, weight, height and age
Create an output showing:
Members BMI
name, weight, height and age
BMI Scale to implement
is Underweight
User BMI is Normal
User BMI is Overweight
User BMI is Obese
Note: one pound is kilograms, and one inch is meters
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
