Question: Create a ASP.Net code statement that calculates the body mass index based on their height and weight. When you clink the link calculate button, it
Create a ASP.Net code statement that calculates the body mass index based on their height and weight. When you clink the link calculate button, it will provide the answer output provided on the screenshot:
protected void btnCalculate_Click(object sender, EventArgs e) { // INSERT CODE HERE
}
(No need to write any code for any formatting, just the calculate button that shows the output)

Display the BMI output and determine if it's underweight, normal, overweight, or obese. Same thing when you click the metric button.
Use these to determine output:
Obese - BMI over 30 Overweight - BMI over 25 Normal - BMI over 18.5 Underweight - BMI of 18.5 or less
Use this wikipedia page for BMI: https://en.wikipedia.org/wiki/Body_mass_index
Body Mass Index Calculator Enter your measurements: feet inches 125 pounds O Imperial OMetric Calculate Your BMI is 24.4, which is the normal range Enter your measurements: 25 kilograms OImperial OMetric Calculate Your BMI is 11.1, which is the underweight range
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
