Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Caleb Ipenburg
Courses Plus Student 141 PointsHelp with the challenge
what is wrong with this
float radius =14.5; printf("A ball with a radius of %f inches.\n)";
4 Answers

lordcozycat
11,940 PointsFirst: your closing quotation mark is outside the brackets.
Second: you're forgetting to state the variable you want to include in the printf.
printf("A ball with a radius of %f inches.\n", radius);
should work for you.

Caleb Ipenburg
Courses Plus Student 141 Pointsyo bryan can u help me quickly

lordcozycat
11,940 PointsI can try, what do you need?

Caleb Ipenburg
Courses Plus Student 141 PointsHow would you declare an integer variable named unstable and initialize it 25?

lordcozycat
11,940 PointsI haven't done any C or Obj-C in years, but I believe to declare such a variable, you'd do this:
int unstable = 25;

Caleb Ipenburg
Courses Plus Student 141 Pointslast question bro (Use the compact form of division to divide unstable by 3)

lordcozycat
11,940 PointsI feel like I'm doing your work for you :P
unstable /= 3
If you Google "c compact form of division", a Treehouse forum link comes up as first result with the answer. I do suggest going back to the video before heading to Google or the forums, though :)
Caleb Ipenburg
Courses Plus Student 141 PointsCaleb Ipenburg
Courses Plus Student 141 PointsThanks Bryan h appreciate it
lordcozycat
11,940 Pointslordcozycat
11,940 PointsNo problem, Caleb! Good luck and have fun with the iOS course :)