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

Kevin Wyers
Kevin Wyers
586 Points

I don't know how I am supposed to be using this workspace.

I inputed

float the_radius = 14.5

I don't know what else I need to insert in this workspace to run it successfully. Do I need to run printf statement? An example/screen shot in this workspace would have been handy as I think I do understand what has been taught up until now.

2 Answers

Richard Lu
Richard Lu
20,185 Points

Hey Kevin,

They're expecting a float variable named radius. Here's the format of what's expected:

float radius = 14.5;  // don't forget the semicolon :)

Hope I've helped. Happy coding!

Kevin Wyers
Kevin Wyers
586 Points

Haha thank you for that. how ludicrously straight forward that was!!!

Gabe Nadel
seal-mask
.a{fill-rule:evenodd;}techdegree
Gabe Nadel
Treehouse Guest Teacher

In learning how to code, I've found that most issues - even those that baffle you for hours or days - often wind up being pretty straightforward, once you've figured out what they are :)