#coding assignment
10 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @wind axle! Please use
/closeor theClose Postbutton 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.
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
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")
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
If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.