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 Variables

Richard Taylor
Richard Taylor
3,977 Points

Difficulty with task two of variables

I can execute the first task, but I cannot create the printf statement required for the second. Can you help?

3 Answers

Could you copy and paste some of your code, pls?

Richard Taylor
Richard Taylor
3,977 Points

Auto increment the variable named unstable:

int unstable = 25; unstable -= 5;

This is the question. I don't know how to structure the code. Thanks for the help

Hi Richard,

I'll give you some hint : one auto increments/decreases a variable by doing :

variable_name++

\\or 

variable_name--