Draw the hierarchy chart and then plan the logic for a program that calculates a person's body mass index(BMI). BMI is a statistical measure that compares a person's weight and height. The program uses three modules. The first prompts a user for and accepts the user's height in inches. The second module accepts the user's weight in pounds and converts the user's height to meters and weight to kilograms. Then. it calculates BMI as weight in kilograms times height in meters squared, ad displays the results. There are 2.54 centimeters in a inch, 100 centimeters in a meter, 453.59 grams in a pound, and 1,000 grams in a kilogram. Use named constants whenever you think they are appropriate. The last module display the message End of job.

    • 4 years ago
    Answer Attached
    NOT RATED

    Purchase the answer to view it

    blurred-text
    • attachment
      KP173.docx