Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a function in swift that: Accepts weight in pounds and height in inches Converts these values to kg and cm One kilogram is equal
Create a function in swift that: Accepts weight in pounds and height in inches Converts these values to kg and cm One kilogram is equal to 2.2046226218 pounds One inch is equal to roughly 2.54 centimeters Calculate REE
Your Resting Energy Expenditure (REE), is the energy it takes to run your body without any movement.Heres what the formula looks like.
For males:10 x weight (kg) + 6.25 x height (cm) 5 x age (y) + 5 = REE
For females:10 x weight (kg) + 6.25 x height (cm) 5 x age (y) 161 = REE
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started