Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

for java The Body Mass Index (BMI) is one of the calculations used by doctors to assess an adult's health. An alternative is the body

for java image text in transcribed
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= (hip circumference/(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% 6079 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database Design With Microcomputer Applications

Authors: Glenn A. Jackson

1st Edition

0137718411, 978-0137718412

More Books

Students also viewed these Databases questions

Question

5-3 What are the current trends in computer hardware platforms?

Answered: 1 week ago

Question

Explain the various inventory management techniques in detail.

Answered: 1 week ago

Question

What is paper chromatography?

Answered: 1 week ago