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!
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
Need help in the variables section
float radius = 14.5;
printf("A ball with a radius of %f inches.\n");
My code doesn't work and i can't passed the quiz
float radius = 14.5; printf("A ball with a radius of %f inches.\n");
Ludwing Najera4,596 Points
it's because the computer doesn't know what the float is called. look,
float radius = 14.5; printf("A ball with a radius of %f inches.\n", radius);
The code was printf("14.5;A ball with a radius of %f inches.",radius); Thanks for the help anyways, you just gave me the wrong format.