Levels Tought:
Elementary,Middle School,High School,College,University,PHD
Teaching Since: | Jul 2017 |
Last Sign in: | 213 Weeks Ago, 1 Day Ago |
Questions Answered: | 15833 |
Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
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.
Â
Â
----------- Â ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly