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

Im completely stuck

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

can you link to the actual challenge please

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

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.

Thank you i totally over complicated it, that was very simple. Cheers for the help!

no problem