Question: 11. Write a ps eudocode for the following. Ask the user to input the weight of a person in pounds, the height in feet and

 11. Write a ps eudocode for the following. Ask the user

11. Write a ps eudocode for the following. Ask the user to input the weight of a person in pounds, the height in feet and inches, and calculate the Body Mass index (BMD The simple formula to calculate the BMI is: BMI - weight in pounds 703 /(height in inches * height in inches) So, you need to convert the feet portion of the height to inches by multiplying it by 12 and add it to the height in inches portion to get the height in inches. For example, for a person who is 5 feet 8 inches tall and weighs 160 pounds, the BMI 160* 703/(68*68)-24.32 which happens to be normal. Do you see how I arrived at 68? 5*12 +8 is 68! If you pick descriptive variable names (a requirement for this class), your programming life would be much easier

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!