Question: Complete Exercise 2 on page 4 3 ( BMI - Target Weight ) . ( 5 0 points ) Add a loop to the program

Complete Exercise 2 on page 43(BMI - Target Weight).(50 points)
Add a loop to the program you created in step 3 above. (40 points)
prompt user to enter height and weight.
display results
ask user if they wish to run the program again(program is only terminate if the user enters 'No')
Submit your finished code solution file(s) through the assignment link (M1 Lab) posted below
Note: Write program Pseudocode (detail algorithm) and add it as a comment block to the submitted program. (10 points)BMI - 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 18.5 and 24.9)
the number of pounds needed to lose in order to be at the top of the healthy BMI range (if their BMI is above 24.9)
the number of pounds needed to gain in order to be at the bottom of the healthy range (if their BMI is below 18.5)
Here is an example run:
Enter your height: 68
Enter your weight: 165
Weight to lose for healthy BMI: 7 pounds
BMI-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 18.5 and 24.9)
the number of pounds needed to lose in order to be at the top of the healthy BMI range (if their BMI is above 24.9)
the number of pounds needed to gain in order to be at the bottom of the healthy range (if their BMI is below 18.5)
Here is an example run:
Enter your height: 68
Enter your weight: 165
Weight to lose for healthy BMI: 7 pounds
Complete Exercise 2 on page 4 3 ( BMI - Target

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 Programming Questions!