Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

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

Step: 3

blur-text-image

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

Database Design Application Development And Administration

Authors: Mannino Michael

5th Edition

0983332401, 978-0983332404

More Books

Students also viewed these Databases questions

Question

=+17.14. 1 Extend the ideas in the preceding two problems to R *.

Answered: 1 week ago

Question

Are my points each supported by at least two subpoints?

Answered: 1 week ago