Question: Complete Exercise 2 on page 4 3 ( BMI - Target Weight ) . ( 5 0 points ) Add a loop to the program
Complete Exercise on page BMI Target Weight points
Add a loop to the program you created in step above. points
prompt user to enter height and weight.
display results
ask user if they wish to run the program againprogram is only terminate if the user enters No
Submit your finished code solution files through the assignment link M Lab posted below
Note: Write program Pseudocode detail algorithm and add it as a comment block to the submitted program. pointsBMI Target Weight
Write a program that prompts the user for their height in inches and weight in pounds The program should calculate BMI and then display one of
three messages:
the user is within the healthy BMI range if their BMI is between and
the number of pounds needed to lose in order to be at the top of the healthy BMI range if their BMI is above
the number of pounds needed to gain in order to be at the bottom of the healthy range if their BMI is below
Here is an example run:
Enter your height:
Enter your weight:
Weight to lose for healthy BMI: pounds
BMITarget Weight
Write a program that prompts the user for their height in inches and weight in pounds The program should calculate BMI and then display one of three messages:
the user is within the healthy BMI range if their BMI is between and
the number of pounds needed to lose in order to be at the top of the healthy BMI range if their BMI is above
the number of pounds needed to gain in order to be at the bottom of the healthy range if their BMI is below
Here is an example run:
Enter your height:
Enter your weight:
Weight to lose for healthy BMI: pounds
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
