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 trialApurv Shah
507 Pointscan i have the code for this
can i have the correct code for the given question?
{
float radius = 14.5;
printf'("%f radius.")';
return 0;
}
1 Answer
J.D. Sandifer
18,813 PointsHere are some suggestions based on your code:
{ // remove this - it's not necessary for the challenge
float radius = 14.5; // this is perfect!
printf'("%f radius.")'; // re-watch the video for the correct printf() syntax
// and then re-read what you're supposed to print
return 0; // remove this - it's not necessary for the challenge
} // remove this - it's not necessary for the challenge
Good luck!
Ryan Carson
23,287 PointsRyan Carson
23,287 PointsWe encourage people to not simply give out the right answer. Can you please explain what it is that you don't understand?