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) Fundamentals of C Variables

Problems with the challenge

I'm not sure what I'm doing wrong, it didn't really explain what i need in the lines

3 Answers

float radius = 14.5;

printf("A ball with a radius of %f inches", radius);

You have to name the variables what they request in the instructions. You must also write the correct things in the printf statement.

Jordan Lemmons
Jordan Lemmons
3,146 Points

Could you post a sample of the code you're inputting? It will help us better understand where you might be going wrong.

/Users/dustindavis/Desktop/Screen Shot 2014-07-05 at 10.06.17 PM.png

{ float value_of_radius = 14.5; printf("%f value of radius.\n", value_of_radius); return 0; }