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

Samantha Tyson
Samantha Tyson
384 Points

Challenge Task 1

I am unsure what I am missing in my code for addTwo function: '''C float addTwo(float a, float b){ return a+b; } '''

2 Answers

Samantha,

It seems there are many people currently having the same issue as you. Your code looks correct, but for some reason the challenge is not accepting the answer. I tried the challenge as well, and got the same negative result. You might want to try coming back to this challenge at a later time.

Amit Bijlani
STAFF
Amit Bijlani
Treehouse Guest Teacher

Your answer is right. Some recent changes to challenge broke it. Sorry about the inconvenience but it should work now.