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 trialAndrew Lees
Full Stack JavaScript Techdegree Student 4,777 PointsIm completely stuck
Can anyone explain this challenge/ show me how it should look! Please
Stone Preston
42,016 Pointsyou should watch the function videos again. A second time around usually makes it easer. If you still cant figure it out reply back in this thread and ill help you out. Its a pretty simple challenge so I think you can get it if you watch closely again
2 Answers
Stone Preston
42,016 Pointsill give you this much. You should be able to figure out what goes inside the function
It says to write a function that returns a float. It also states it should have two float arguments
float addTwo(float a, float b) {
}
you only need one more line inside the function.
Andrew Lees
Full Stack JavaScript Techdegree Student 4,777 PointsThank you i totally over complicated it, that was very simple. Cheers for the help!
Stone Preston
42,016 Pointsno problem
Stone Preston
42,016 PointsStone Preston
42,016 Pointscan you link to the actual challenge please