Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

canvas.bergen.edu Python 3 RDA Protein Needs 2 4 1 1 : 5 9 pm Missing 0 ? q , Review Feedback Offline Score: 0 1

canvas.bergen.edu
Python 3
RDA Protein Needs
2411:59 pm
Missing 0?
q,
Review Feedback
Offline Score:
0100
Recommended Dietary Allowance (RDA) for protein
The Recommended Dietary Allowance (RDA) for protein is a modest 0.8 grams of protein per kilogram of body weight. The RDA is the amount of a nutrient you need to meet your basic nutritional requirements.
1(lb) is equal to 0.45359237(kg)
To convert Ibs to kg you must multiple Ibs *0.45359237
Example: 150lb0.45359237=68.0388555kg
Problem:
Write a program that asks a user for their name and weight in Ibs. In the program convert lbs to kg, calculate their RDA for protein. Print out to the user their converted weight, their name, and their RDA for protein. See below for the sample output. Remember to add comments to your code with your name and date to get credit for the program.
Important Note / hints:
Assume more than one person would be running this program.
Allow weight to be given as floating-point numbers.
MacBook Pro
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Illuminated

Authors: Catherine M. Ricardo

1st Edition

0763733148, 978-0763733148

More Books

Students also viewed these Databases questions

Question

3. Describe the process of a union drive and election.

Answered: 1 week ago

Question

2. What appeals processes are open to this person?

Answered: 1 week ago