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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Roger Curiel](https://secure.gravatar.com/avatar/65d0527585c97e00366d44a6c294256e?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Roger Curiel
Courses Plus Student 58 PointsNeed 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");
2 Answers
![Ludwing Najera](https://uploads.teamtreehouse.com/production/profile-photos/181702/micro_steven-universe-image-steven-universe-36072041-640-360-01.png)
Ludwing Najera
4,596 Pointsit'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);
![Roger Curiel](https://secure.gravatar.com/avatar/65d0527585c97e00366d44a6c294256e?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Roger Curiel
Courses Plus Student 58 PointsThe 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.
Roger Curiel
Courses Plus Student 58 PointsRoger Curiel
Courses Plus Student 58 PointsI inputted the code and it still din't work.
Ludwing Najera
4,596 PointsLudwing Najera
4,596 PointsThat's wierd, because i put that in the code challenge and it worked