Measuring the body fat of the person

Assignment Help Basic Computer Science
Reference no: EM131468524

One way to determine how healthy a person is by measuring the body fat of the person. The formulas to determine the body fat for female and male are as follows:

Body fat formula for women:

o  A1 = (body weight ´ 0.732) + 8.987

o  A2 = wrist measurement (at fullest point) / 3.140

o  A3 = waist measurement (at navel) ´ 0.157

o  A4 = hip measurement (at fullest point) ´ 0.249

o  A5 = forearm measurement (at fullest point) ´ 0.434

o  B = A1 + A2 - A3 - A4 + A5

o  Body fat = body weight - B

Body fat formula for men:

o  A1 = (body weight ´ 1.082) + 9.442

o  A2 = wrist measurement ´ 4.15

o  B = A1 - A2

o  Body fat = body weight - B

o  Body fat percentage = body fat ´ 100 / body weight

Write a program to calculate the body fat of a person in C++ language.

Reference no: EM131468524

Questions Cloud

How the branches of islam practice their traditions : Explain the importance of these elements for Muslim : Qur'an, Five Pillars, Ramadan, General Islamic Ethics.
Functional vs nonfunctional requirements : Explain why both functional and nonfunctional requirements are important in IT development. Include at least two (2) examples to support your answer.
Develop a website maintenance plan : Using the course software, develop a simple JavaScript® element for your website and develop a website maintenance plan.
Proposal of an organizational retention action plan : Develop a proposal for an organizational retention and motivation action plan due to the high attrition rates and declining motivation currently occurring.
Measuring the body fat of the person : One way to determine how healthy a person is by measuring the body fat of the person. The formulas to determine the body fat for female and male are as follows:
Time working with virtual team : Project manager for electronics manufacturer, you are supposed to design new, low-cost MP3 player in three months’ time working with "virtual team"
What does cert stand for : What does CERT stand for? Is there more than one CERT available, and how to obtain one. What is the purpose of a CERT? (280 word minimum)
What further evolutions do you predict for the future : what further evolutions do you predict for the future?
What are marketable skills for health care : HA499 : As you begin to apply for positions, describe how you plan to obtain letters of what employers want and relating your skills to the job description.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Translate the first instruction into english

If the machine is started with its program counter containing 00, what bit pattern is in register 6 when the machine halts?

  Calculate the latency for the following

Same as (a) but assume the switch implements "cut-through" switching: It is able to begin retransmitting the packet after the first 200 bits have been received.

  Describe the scenario where none of philosophers ever eats

Describe the scenario where none of philosophers ever eats (i.e., starvation). What is the sequence of events that happen that lead up to this problem?

  Examine the goals of coupling and cohesion

Examine the concepts of coupling and cohesion as they are defined and used in both an object-oriented design approach and in a structured design approach -

  Latest trend of web technologies

Research the latest trend of Web technologies and identify one of the two of them. Introduce the technology(ies) you identify to your classmates

  Process to get merchandize to your customers

• Some process to get merchandize to your customers. To spice things up a bit you have decided to sell something funny and demanding like: • T-shirts with a Superhero image and your company logo on them.

  Draw a qoc model that is equivalent to the goal graph

Discuss the respective advantage and disadvantages of QOC and the NFR Framework for representing rationale during requirements.

  Find the big theta for execution time of recurrence

How to find the big theta for execution time of recurrence algorithm and the big theta for memory.

  Write the windows cli commands that will clear the screen

Write the Windows CLI commands that will Clear the screen; Turn off Command echo; and display the current IP address, Subnet Mask, and Default Gateway

  Implement the menu-handling code

Alternatively, open the imageviewer0-2 project and carefully examine the source code. Describe in writing and in detail the sequence of events that results from activating the Quit menu item.

  Indicated operations and simplify the result

1. Show all work as you perform the indicated operations and simplify the result:

  Calculate the equation of this best fit straight line

Linear regression is a method for calculating the equation of the "best" straight line that passes through a set of points. By "best," we mean the "best fit" straight line—the one that passes as closely as possible to as many points as possible. To c..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd