#coding assignment

10 messages · Page 1 of 1 (latest)

wind axle
#

Hi i need help with a coding assignment. I have never coded and im so confused

haughty echoBOT
#

This post has been reserved for your question.

Hey @wind axle! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

wind axle
#

This is my assignment and i know i need to get

#

(calories/minutes = 0.0175 x METS x weight in kg
minutes = 60
weight = (170/2.2)
weight = 77.27kg
METS = 8
C/60 = 0.0175 x 8 x 77.27
c/60 = 10.82
c = 10.82 x 60
calories burned 649.068
they want 2 decimals so 649.06

#

These calculations done i just dont know how to turn it into a code

full elbow
#

If this is a coding assignment, you must have had a section before this regarding setting up an environment and creating a program?

If so, I would go back to that and follow the steps. The rest can be googled since you know the equation. (Ex. "How to get input" or "How to divide numbers in java")

If not, substitute the material with more googling ( Ex. "How to create a java program")

wind axle
#

i got the code running thank you just need a few adjustments and im good but for the class i got the teacher wasnt really clear

haughty echoBOT