BMI Calculator: Analysis
Program Tasks
- Prompt the user for height
- Prompt the user for weight
- Calculate the BMI
- Output the results in a user-friendly fashion
In the United States, people are used to giving height in feet and inches
and weight in pounds. Our program will let the user enter information in
this way.
Since body mass index is:
(weight in kilograms) / (height in meters)^2
we will need to convert the information given by the user into metric units
of measurement.
Go to next step: Design