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!

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

Functions quiz/challange

I do not understand what is means when I have to define the float. I did everything he was doing in the video, though he was using 'int' and not 'float'. I am stuck and need help. Thanks!

1 Answer

The question is asking to create a function that adds two floats together and returns the value.

float addTwo(float a, float b) {
    return a + b;

Thank You I understand now!