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 divided by height in meters squared, and displays the results.
There are 2.54 centimeters in an 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 displays the message End of job.

Revise the BMI-determining program to execute continuously until the user enters 0 for the height in inches.

Submit the .vls file you create in Visual Logic as well as a screenshot of the output.
For full credit, the program must function correctly, produce the correct answer, and be logically succinct.

Respuesta :

Explanation:

I have attached the answer as an image. I can't upload the file as it requires a licensed product and I only used demo version. I can provide the file too if you can give me your vlsig file required to use full software. However, If you just copy along the images on your Visual Studio, you will easily create the files yourself. Answer is provided for both scenarios as part A and part B, one which stops after 1 iteration and the one which loops until 0 height is given.

Ver imagen khurramilyas95