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
brycecampbell
2,112 PointsObjective-C
Create a float variable named 'radius' with the value '14.5'.
2 Answers

Oliver Monk
1,867 Pointsyeah, same deal with this one. Looks to me like I've done everything right...
int main()
{
float radius = 14.5;
printf ("%f", radius);
return 0;
}
Put the printf in for good measure but still nothing.
I've also run it in XCode and it runs without any errors.

Oliver Monk
1,867 PointsOk tried changing things about, turns out you only need
float radius = 14.5;

brycecampbell
2,112 Pointsthank you