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 trial
Extremely unclear challenge after 'scope' chapter in Functional Programming in C. Can't get correct code in.
Challenge uses float variables, which were not discussed in lesson. Unclear 'how much' of implementation is being requested here. Just the final two lines returning the sum? The actual assigning of variables? If floats are to be assigned numbers is that done differently than it is done OUTSIDE a function? No direct assigning of variables in a function was done in the lesson. And the editors error handling is less than no help. I cannot tell what the challenge is looking for. I have tried 20 different combinations of code and none of them pass.
Never mind. Answer sorted. Lots of trial and error to get how much challenge wanted and then had to go well outside of Treehouse to get the syntax correct. First time a quiz or challenge has come up that the lesson left me totally prepared to meet. Doesn't bode well that it is still early in the track for me.