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 trialAndrew Whitfield
5,239 PointsSyntax Error on http://teamtreehouse.com/library/operators-expressions
Hi,
I believe there should be a semi colon on line 2 of the quiz on the above link.
int unstable = 25;
unstable -= 5 // This line should have a semicolon.
Thoughts? Thanks, Andrew
2 Answers
Michael Reining
10,101 PointsYou do not need the first semi-colon and you do not need to repeat the unstable.
int unstable = 25;
Andrew Whitfield
5,239 PointsHi Michael,
I mean the code above was from the tutorial's question, but was missing the semicolon. I think the question should be updated to include it on the 2nd line.
Amit Bijlani
Treehouse Guest TeacherThanks for bringing this to our attention. It has been fixed.