Jump to content

Stuck in my project C# (Bodyfat)


karam92
 Share

Recommended Posts

I'm stuck in this project, I need help figuring out how to write these formulas correctly in C# language and make the application run correctly, the idea of prject is to use Visual Studio to create an application where you will calculate a person’s lean body weight, fat mass, percent body fat, and ideal weight.

Women Thirty Years and Younger

hips + (.80 x thigh) – (2 x calf) – wrist = % body fat

Women over Thirty

hips + thigh – (2 x calf) – wrist = % body fat

Men Thirty Years and Younger

waist + (1/2 hips) – (3 x forearm) – wrist = % body fat

Men over Thirty

waist + (1/2 hips) – (2.7 x forearm) – wrist = % body fat

Men

Lean Body Mass (pounds) ÷ 0.85 = correct weight to be 15% fat

Women

Lean Body Mass (pounds) ÷ 0.78 = correct weight to be 22% fat


I have attached screenshot shows where I'm stuck please Help!

 

3.png

33.png

Link to comment
Share on other sites

HI @karam92,

can you provide your current state of the solution/project here via zip archive or external link for example?
It would also be helpful if you provide more information what exactly isn't working and how do you want to proceed 😉 .

Best regards
Sven

________________
Stay innovative!

Stay innovative!

Spoiler

🌍 Au3Forums

🎲 AutoIt (en) Cheat Sheet

📊 AutoIt limits/defaults

💎 Code Katas: [...] (comming soon)

🎭 Collection of GitHub users with AutoIt projects

🐞 False-Positives

🔮 Me on GitHub

💬 Opinion about new forum sub category

📑 UDF wiki list

✂ VSCode-AutoItSnippets

📑 WebDriver FAQs

👨‍🏫 WebDriver Tutorial (coming soon)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...