Question: Pls do Not AND i repeat do not use using namespace std; pls do not use that Question 1. 4.2 - If/Else (Part 2) /

Pls do Not AND i repeat do not use "using namespace std; pls do not use that

Question 1.Pls do Not AND i repeat do not use "using namespace std;

4.2 - If/Else (Part 2) / 9. BMI Report 20 points possible Reset to Starter Code Saved Ask the user to enter their weight [in pounds] and their height in inches. Calculate their Body Mass Index (BMI) and tell them whether they are underweight, overweight, or at optimal weight. BMI formula: weight * 703 / (height * helght] Optimal weight is a BMI from 19 to 26. Lower is underweight, higher is overweight. Prompts Enter your weight (in pounds): [possible user input: 144] Enter your height (in inches): Iposible user input: 73] Possible Outputs: Your BMI is 18.9961, wilich means you are underweight. Your BMT is 29.2612, which means you are overweight Your BMI is 25.8704, which means you are al optimal woigill. Notes and Hints: 1) For simplicity, assume user entries will be in whole numbers. However, BMI must be calculated with decimals. 2) You must use an il/else if structure for this 3) NOTE: The three exercises in this HW are going to make you think a bit. If you want really basic practice with if/else and related concepts, read your author's examples in section 4.5 - 4.9. He has plenty of easy code (with explanations) in the main text

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!