Question: Part 1 : Write a program In your program, you will use the result that was returned from the function as part of the output
Part : Write a program
In your program, you will use the result that was returned from the function as part of the output of the main program.
Write a program to collect user information for each of the required parameters. Output echo the collected information as shown below.
If the input is given as the following three integers and one float
The output for a woman note that only the last line has a floatingpoint value that's rounded to decimal places:
Age years
Weight pounds
Heart rate
Time minutes
Calories burned
Part : Write a function
Define a function: calculatecaloriewoman
make sure that the name is exactly as shown
Use the formula from the Calorie expenditure in Section
II Women: Calories Age Weight Heart Rate Time
Update the function documentation
return the computed value do not round the result inside the function
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
