Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Save As Assign11 Exit Fullscreen The Body Mass Index (BMI) is one of the calculations used by doctors to assess an adult's health. An alternative
Save As Assign11 Exit Fullscreen 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. BAl 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% BAl classification for women: BAl classification for men: Create a program that will calculate the BAl 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. 2. Review- (loops, counters, strings, IF statements, arrays)
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