Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialSam Weiss
2,260 Pointscan't fig it out
not quite sure what i am doing wrong last challenge of functions
2 Answers
Stone Preston
42,016 Pointshere is a shell of what your function should look like:
returnType functionName(datatype arguementOne, datatype argumentTwo) {
return something;
}
the challenge tells you it should return a float, what the function should be named, that the arguments are both floats, and it shoudl return the sum of the arguments passed in
James Gill
Courses Plus Student 34,936 PointsSam,
Not sure either. You'll have to post code, explain your problem with specifics, and point out the part that's a problem. I highly recommend the "Tips for asking questions" video you see at the right of this page.
Sam Weiss
2,260 PointsSam Weiss
2,260 PointsWow-this site is great Thanks so much Stone.