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

iOS Objective-C Basics (Retired) Fundamentals of C Operators & Expressions

The Auto Incrementing question makes no sense

What is the question asking to "auto increment" the variable? I do it, but it keeps telling me I'm wrong. What type of answer do you want to pass the quiz? please be specific on what kind of answer you guys are looking for.

1 Answer

Shawn Flanigan
Shawn Flanigan
Courses Plus Student 15,815 Points

It looks like they're asking you to add 1 to the variable. In order to pass, it seems you can't have any spaces in your code, so it should look something like this:


Hope that helps.

Thanks Shawn! You the real MVP! Greatly appreciate it:)