Mar-16-2018, 07:14 AM
get input for variables used in the calculation (met, weight)
calculate and assign the result to a variable (calories_per_minute)
you can define a separate function for the calculation like in the example you provide
calculate and assign the result to a variable (calories_per_minute)
you can define a separate function for the calculation like in the example you provide