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

dan hamann
dan hamann
191 Points

Stuck on the answer

I have no idea without a conversion like cm_to_in

What is the answer

3 Answers

Hello Dan and welcome to Treehouse!

If you're on the question I think you are, here's the answer.

float radius = 14.5;
printf("A ball with a radius of %f inches", radius);
dan hamann
dan hamann
191 Points

Thanks for the help but it this was not right. I think they want 14.5 in there somewhere?

Opps, sorry about that! I've edited in the correct code.

dan hamann
dan hamann
191 Points

Thanks....you the man!