Dwayne Rowe Jr.
COP1000
9/16/18
Body Mass Index
Design a modular program that calculates and displays a person
’
s body mass
index (BMI). The BMI is often used to determine whether a person with a
sedentary life style is overweight or underweight for his or her height. A person
’
s
BMI is calculated with the following formula:
BMI = Weight × 703/Height
2
Algorithm
1.
Get persons height
2.
Get persons weight
3.
Calculate BMI
4.
Determine if person is underweight, optimal or overweight
5.
Display BMI results and determination
Pseudocode