Question: JAVA ONLY please Save As Assign11 The Body Mass Index (BMI) is one of the calculations used by doctors to assess an adult's health. An

JAVA ONLY please
JAVA ONLY please Save As Assign11 The Body Mass Index (BMI) is

Save As Assign11 The Body Mass Index (BMI) is one of the calculations used by doctors to assess an adult's health. An alternative is the body adiposity index. Body Adiposity Index (BAI) The body adiposity index is used to check your body fat level based on the size of your hips and your height. Unlike BMI, it does not use your body weight for estimations. BAI formula: BAI=(hipcircumference/(height)1.5 ) 18 hip circumference is in centimeters and height is in meters. For example: If your height is 180cm hip circumference is 102cm : BAI=[102/(1.8)1.5]18=24.2% BAI classification for women: Age (years) Underweight Healthy Overweight Obese 20 - 39 Less than 21%21% to 33% Greater than 33% Greater than 39% 40 - 59 Less than 23%23% to 35% Greater than 35% Greater than 41% 60 - 79 Less than 25%25% to 38% Greater than 38% Greater than 43% BAI classification for men: Age (years) Underweight Healthy Overweight Obese 2039 Less than 8%8% to 21% Greater than 21% Greater than 26% 4059 Less than 11%11% to 23% Greater than 23% Greater than 29% 60 - 79 Less than 13%13% to 25% Greater than 25% Greater than 31% Create a program that will calculate the BAI percentage. Prompt the user for the height (in cm ), the hip circumference (in cm ), gender and age. Display the BAI percentage rounded to one decimal place and whether they are underweight, healthy, overweight or obese. Ensure that only one of the four answers are displayed

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!