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 trialAdam McGhee
Courses Plus Student 1,902 PointsI don't understand the instructions
just searching questions
1 Answer
Steven Parker
231,275 PointsLet's break it down into steps:
- I'm going to create a variable named age.
Judging from previous questions, this one can be confusing. Maybe it would be better if it said "Assume a variable named "age" has already been created earlier in the program."
- I need you to make an if condition... if age is 13 or more
This part should be pretty straightforward. If you're not sure how to construct an "if condition" you may want to review the If This Then That video.
- ...that sets admitted to
True
This part is is a simple assignment of a boolean. It's just like creating a new variable.