Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

BAI:Pls help for this programing problem in c++,better with some comment about why coding that way,thanks Problem B: Body Adiposity Index(BAI) Problem Description The BAl

BAI:Pls help for this programing problem in c++,better with some comment about why coding that way,thanks

image text in transcribed

Problem B: Body Adiposity Index(BAI) Problem Description The BAl can be used to show percent of body fat for adult of differing ethnicities without numerical emendation. The formula of BA hip circumference (height)15 BAI 18 Input The first line contains an integer n which indicates the number of test cases Each of next n lines contains A. Hip circumference size(in centimeter) B. Height(in meters) Output Over 40 is considered morbidly obese between 30 and 39.9 is considered obese between 25 and 29.9 is considered overweight between 18.5 and 24.9 is considered healthy under 18.5 is consider underweight Sample Input Sample Output underweight 90 1.87 ealthy 80 1.6

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

Advances In Knowledge Discovery In Databases

Authors: Animesh Adhikari, Jhimli Adhikari

1st Edition

3319132121, 9783319132129

Students also viewed these Databases questions