Draw the hieararchy chart and then plan the logice for a program that calculates
ID: 3584707 • Letter: D
Question
Draw the hieararchy chart and then plan the logice for a program that calculates a person's body mass index BMI. BMI is a statistical measure that compares the person's weight and height. The program uses three modules. The first prompts a user for and accepts the user's weight in pound and converts the user's height to meters and weight to kilograms. Then ,it calculates the BMI as weight in kilograms times 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 pound, and t,000 grams in a kilogram. Use name constants whenever you think they are appropriate. The last module displays the message End of Job.Explanation / Answer
www.slideshare.net/bhushan4qtp/lessson-7question-part-1
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.