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



Create a float variable named 'radius' with the value '14.5'.

2 Answers

yeah, 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.

Ok tried changing things about, turns out you only need

float radius = 14.5;

thank you