Answered step by step
Verified Expert Solution
Question
1 Approved Answer
JAVA ONLY 1. Review- (Simple formulas, If statements) Save As Assign11 The Body Mass Index (BMI) is one of the calculations used by doctors to
JAVA ONLY
1. Review- (Simple formulas, If statements) 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 (BAl) 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. BAl formula: \[ \mathrm{BAI}=\text { (hip circumference/(height)^ } 1.5) \text { ) } 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% BAl classitication for women: 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started