DUE IN 6 HRS!!!!!!!! BMI Index You are the nutrit.docx - DUE IN 6 HRS BMI Index You are the nutritional coach for a local high school football team You

DUE IN 6 HRS!!!!!!!! BMI Index You are the nutrit.docx -...

This preview shows page 1 - 5 out of 29 pages.

Image of page 1
DUE IN 6 HRS!!!!!!!! BMI Index You are the nutritional coach for a local high school football team. You realize that some of the players are not up to par having returned from summer break. Realizing nutrition plays a key in a productive team, you decide to implement a Body Mass Index Program. Write a modularized Body Mass Index (BMI) Program which will calculate the BMI of a team player. The formula to calculate the BMI is as follows: BMI = Weight *703 / Height^2 Note: Height^2 means, the value of Height raised to the power of 2.
Image of page 2
Your program should utilize the following functions: A method to obtain the weight of a player A method to obtain the height of a player A method to calculate the BMI of a player A method to display the height, weight, and calculated BMI For this project: You will submit your python code in either the original .py file, or copied into a .txt file. A screenshot of your code having been executed (run). How to Take a Screenshot Tips: Remember, changing a value that has been passed into a function does not change the original value. Data passed into functions are only copies of the original value.
Image of page 3
Remember to follow the guidelines of good program design. Make sure to use meaningful variable names, include comments as needed, and provide thoughtful output. Remember, while you can pass as many arguments into a function as you want, but a function can only return one thing at a time. Ideally, to use a function to modify a variable or object, you will pass that object into the function, along with any other needed information to make the modifications, make the modifications to the new local copy of the object inside of the function, and then return the modified object. Thus, you will overwrite the original object with the returned modified object.
Image of page 4
Image of page 5

You've reached the end of your free preview.

Want to read all 29 pages?

  • Fall '16
  • Christopher L. Litten, MA, Ph.D.

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors