A local health club has tasked you with writing code that computes the calorie intake needed to maintain a client’s current weight.

A local health club has tasked you with writing code that computes the calorie intake needed to maintain a client’s current weight. A common formula for calculating calories required is the Harris-Benedict Formula:

Women: Calories = 655 + (4.35 * weight in pounds) + (4.7 * height in inches) – (4.7 * age in years)

Haven’t Found The Relevant Content? Hire a Subject Expert to Help You With
A local health club has tasked you with writing code that computes the calorie intake needed to maintain a client’s current weight.
Post Your Own Question And Get A Custom Answer
Hire Writer

Men: Calories = 66 + (6.23 * weight in pounds) + (12.7 * height in inches) – (6.8 * age in years)

This formula is used to calculate calories given someone’s age, height, and weight. If you do a good job, the health club will ask you to expand this program in the future to do a lot more. Because this code could be used as a building block for a larger program, you need to write these as functions.

Your assignment is to write 2 functions. One will be called WomenCalorieInTake and the other will be MenCalorieInTake. You will also write a program that uses both functions. This will let you test that your functions to make sure both work. Both functions should take parameters age, height, and weight and return the calories.

The program should output a message that says “Your age is ” followed by the age “Your height is “ followed by the height” “Your weight is “ followed by the weight “Your calorie intake to maintain your weight is “ followed by the calorie intake number.

For example, if you test your WomenCalorieInTake function by passing in values for a woman that is 21 years old, 67 inches tall, and weighs 140 pounds the output for this club member would be:

Your age is 21

Your height is 67

Your weight is 140

Your calorie intake to maintain your weight is 1480.2

For example, if you test your MenCalorieInTake function by passing in values for a man that is 21 years old, 67 inches tall, and weighs 200 pounds the output for this club member would be:

Your age is 21

Your height is 67

Your weight is 200

Your calorie intake to maintain your weight is 2020.1

First, describe your algorithm for each function using pseudocode.

Translate the pseudocode into a C++ program. You must comment your program including comments at the top of the file that explains what the program does and comments for every line of code that explains what is happening for the line of code. Apply troubleshooting and testing strategies to ensure your code compiles, runs, and provides accurate results.

Submit 2 files:

Your Word document with your pseudocode.

Will someone help me with this Please!!!

superadmin (28431)
New York University
15 MILLION STUDENTS HELPED!

Hire an Expert to Help you

Hire Verified Expert

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more
Have a homework question? Get help from verified tutors now!

Are You Looking For Assignment Help? We Can Certainly Assist You

Sometimes it is hard to do all the work on your own

Let us help you get a good grade on your paper. Get professional help and free up your time for more important courses. Let us handle your;

  • ~Dissertations
  • ~Essays
  • ~All Assignments

  • ~Research papers
  • ~Term papers