Question: My code won't display the ideal weight when testing. After computing the ideal body weight twice, once assuming the person is female and once assuming

My code won't display the ideal weight when testing.
After computing the ideal body weight twice, once assuming the person is female and once assuming the person is male, then output the results as shown below.
Please enter your height (feet inches) : 59
If you are a male, your ideal weight should be 160 pounds.
If you are a female, your ideal weight should be 145 pounds.
 My code won't display the ideal weight when testing. After computing

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!