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 trialMichael Kaufman
2,910 Pointsim getting an error screen
im getting an error message from printf("%d days in a week.\n", days_in_a_week); printf("%f cm per in.\n"; cm_to_in); printf(" The %c is a cool hotel", the_w);
return 0;
it says there is an error with a red button
2 Answers
Kevin Kenger
32,834 PointsHey Michael,
It looks like you put a semi-colon instead of a comma here:
printf("%f cm per in.\n"; cm_to_in);
it should be printf("%f cm per in.\n", cm_to_in);
Chris Shaw
26,676 Pointsnvm, answer above