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

iOS Objective-C Basics (Retired) Functional Programming in C Functions

Andrew Lees
seal-mask
.a{fill-rule:evenodd;}techdegree
Andrew Lees
Full Stack JavaScript Techdegree Student 4,777 Points

Im completely stuck

Can anyone explain this challenge/ show me how it should look! Please

Stone Preston
Stone Preston
42,016 Points

can you link to the actual challenge please

Stone Preston
Stone Preston
42,016 Points

you 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
Stone Preston
42,016 Points

ill 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.