Skip to main content

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

Join the Treehouse affiliate program and earn 25% recurring commission! 🤑

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
      • • Vibe Coding
  • Bekzod Rakhmatov
    Bekzod Rakhmatov
    7,419 Points

    I do not know what is wrong!

    Posted August 4, 2017 10:36pm by Bekzod Rakhmatov
    Bekzod Rakhmatov
    7,419 Points
    • iOS
    • Objective-C Basics
    • Introduction to Operators and Conditionals
    • Review IF / ELSE

    2 Answers

  • Arjun Parashar
    PLUS
    Arjun Parashar
    Courses Plus Student 2,150 Points

    Hi Can anyone help me with this code challenge? I am a bit confused.

    Posted June 1, 2017 3:18am by Arjun Parashar
    Arjun Parashar
    Courses Plus Student 2,150 Points
    • iOS
    • Objective-C Basics
    • Introduction to Operators and Conditionals
    • Review IF / ELSE

    1 Answer

  • Charlie Hugall
    Charlie Hugall
    248 Points

    Review IF / ELSE, creating a bool variable and an int = 0

    Posted May 31, 2017 9:25pm by Charlie Hugall
    Charlie Hugall
    248 Points
    • iOS
    • Objective-C Basics
    • Introduction to Operators and Conditionals
    • Review IF / ELSE

    0 Answers

  • Charlie Hugall
    Charlie Hugall
    248 Points

    How do i answer this question???

    Posted May 31, 2017 9:14pm by Charlie Hugall
    Charlie Hugall
    248 Points
    • iOS
    • Objective-C Basics
    • Introduction to Operators and Conditionals
    • Review IF / ELSE

    1 Answer

  • Joshua Hardy
    Joshua Hardy
    17,317 Points

    Is this a compiler error?

    Posted April 11, 2017 1:13am by Joshua Hardy
    Joshua Hardy
    17,317 Points
    • iOS
    • Objective-C Basics
    • Introduction to Operators and Conditionals
    • Review IF / ELSE

    1 Answer

  • Bailey Flanagan
    Bailey Flanagan
    1,701 Points

    I can't assign the int 'powerPoints' a value of 0 (e.g. 'powerPoints' = 0;) What am I doing wrong?

    Posted March 28, 2017 3:50am by Bailey Flanagan
    Bailey Flanagan
    1,701 Points
    • iOS
    • Objective-C Basics
    • Introduction to Operators and Conditionals
    • Review IF / ELSE

    1 Answer

  • Boris Davidovic
    Boris Davidovic
    1,010 Points

    powerPoint

    Posted February 20, 2017 5:33pm by Boris Davidovic
    Boris Davidovic
    1,010 Points
    • iOS
    • Objective-C Basics
    • Introduction to Operators and Conditionals
    • Review IF / ELSE

    2 Answers

  • Arjun Parashar
    PLUS
    Arjun Parashar
    Courses Plus Student 2,150 Points

    I'm not able to figure out this question.

    Posted January 4, 2017 6:11pm by Arjun Parashar
    Arjun Parashar
    Courses Plus Student 2,150 Points
    • iOS
    • Objective-C Basics
    • Introduction to Operators and Conditionals
    • Review IF / ELSE

    1 Answer

  • mark hengstebeck
    mark hengstebeck
    1,119 Points

    Why isn't my computer understanding this human in this task of true or false?

    Posted November 18, 2016 9:03pm by mark hengstebeck
    mark hengstebeck
    1,119 Points
    • iOS
    • Objective-C Basics
    • Introduction to Operators and Conditionals
    • Review IF / ELSE

    2 Answers

  • mark hengstebeck
    mark hengstebeck
    1,119 Points

    bool assignment

    Posted November 16, 2016 4:09am by mark hengstebeck
    mark hengstebeck
    1,119 Points
    • iOS
    • Objective-C Basics
    • Introduction to Operators and Conditionals
    • Review IF / ELSE

    0 Answers

  • adi veliman
    adi veliman
    5,343 Points

    I am doing the task but I am getting the error "too many errors emitted, stopping now 20 errors generated"

    Posted October 4, 2016 6:00pm by adi veliman
    adi veliman
    5,343 Points
    • iOS
    • Objective-C Basics
    • Introduction to Operators and Conditionals
    • Review IF / ELSE

    0 Answers

  • Casey Wilkinson
    Casey Wilkinson
    2,355 Points

    Create a bool variable called 'hasBonus'. Create an int variable called 'powerPoints' and assign it a value of 0????????

    Posted October 4, 2016 1:40pm by Casey Wilkinson
    Casey Wilkinson
    2,355 Points
    • iOS
    • Objective-C Basics
    • Introduction to Operators and Conditionals
    • Review IF / ELSE

    2 Answers

  • Luis Gabriel Jaramillo Perez
    Luis Gabriel Jaramillo Perez
    459 Points

    BOOL hasBonus; int powerPoints = 0; this is getting an error, and i know that im correct.

    Posted July 18, 2016 5:30am by Luis Gabriel Jaramillo Perez
    Luis Gabriel Jaramillo Perez
    459 Points
    • iOS
    • Objective-C Basics
    • Introduction to Operators and Conditionals
    • Review IF / ELSE

    0 Answers

  • Luis Paulino
    PLUS
    Luis Paulino
    Courses Plus Student 1,779 Points

    I don't see the problem?

    Posted July 5, 2016 3:51pm by Luis Paulino
    Luis Paulino
    Courses Plus Student 1,779 Points
    • iOS
    • Objective-C Basics
    • Introduction to Operators and Conditionals
    • Review IF / ELSE

    1 Answer

  • Luis Paulino
    PLUS
    Luis Paulino
    Courses Plus Student 1,779 Points

    Do, I have to connect the bool to the int?

    Posted July 5, 2016 3:03pm by Luis Paulino
    Luis Paulino
    Courses Plus Student 1,779 Points
    • iOS
    • Objective-C Basics
    • Introduction to Operators and Conditionals
    • Review IF / ELSE

    0 Answers

  • Rosh Canlas
    Rosh Canlas
    2,666 Points

    Need help with IF ELSE statements ! :)

    Posted May 23, 2016 7:40am by Rosh Canlas
    Rosh Canlas
    2,666 Points
    • iOS
    • Objective-C Basics
    • Introduction to Operators and Conditionals
    • Review IF / ELSE

    1 Answer

  • kavanseggie
    kavanseggie
    7,565 Points

    BUG - declared variable using BOOL, didn't work. Had to use all lowercase bool for the code to pass

    Posted May 21, 2016 9:24am by kavanseggie
    kavanseggie
    7,565 Points
    • iOS
    • Objective-C Basics
    • Introduction to Operators and Conditionals
    • Review IF / ELSE

    2 Answers

  • Usen Ekpek
    Usen Ekpek
    1,634 Points

    creating an if/else statement, such that when 'powerPoints' is less than 3 'hasBonus' is false, but 'hasBonus' is true.

    Posted May 20, 2016 3:41am by Usen Ekpek
    Usen Ekpek
    1,634 Points
    • iOS
    • Objective-C Basics
    • Introduction to Operators and Conditionals
    • Review IF / ELSE

    1 Answer

  • Glenn Artistro Yadi
    Glenn Artistro Yadi
    594 Points

    Change the value of powerPoints to 5. Then create an if else statement such that when 'powerPoints' is less than 3 'hasB

    Posted April 25, 2016 1:55pm by Glenn Artistro Yadi
    Glenn Artistro Yadi
    594 Points
    • iOS
    • Objective-C Basics
    • Introduction to Operators and Conditionals
    • Review IF / ELSE

    1 Answer

  • jason wade
    jason wade
    939 Points

    guys really stuck on this task 2 of 2.

    Posted March 29, 2016 1:00pm by jason wade
    jason wade
    939 Points
    • iOS
    • Objective-C Basics
    • Introduction to Operators and Conditionals
    • Review IF / ELSE

    2 Answers

  • Carl Smith
    Carl Smith
    8,185 Points

    Can't get this boolean to work.

    Posted March 23, 2016 12:43am by Carl Smith
    Carl Smith
    8,185 Points
    • iOS
    • Objective-C Basics
    • Introduction to Operators and Conditionals
    • Review IF / ELSE

    1 Answer

  • Anik Devaughn
    Anik Devaughn
    5,770 Points

    Create an int variable called 'powerPoints' and assign it a value of 0.

    Posted March 13, 2016 4:26am by Anik Devaughn
    Anik Devaughn
    5,770 Points
    • iOS
    • Objective-C Basics
    • Introduction to Operators and Conditionals
    • Review IF / ELSE

    1 Answer

  • Anik Devaughn
    Anik Devaughn
    5,770 Points

    Create a bool variable called 'hasBonus'. Create an int variable called 'powerPoints' and assign it a value of 0.

    Posted March 13, 2016 4:20am by Anik Devaughn
    Anik Devaughn
    5,770 Points
    • iOS
    • Objective-C Basics
    • Introduction to Operators and Conditionals
    • Review IF / ELSE

    1 Answer

  • Anik Devaughn
    Anik Devaughn
    5,770 Points

    Create a bool variable called 'hasBonus'. Create an int variable called 'powerPoints' and assign it a value of 0.

    Posted March 13, 2016 4:20am by Anik Devaughn
    Anik Devaughn
    5,770 Points
    • iOS
    • Objective-C Basics
    • Introduction to Operators and Conditionals
    • Review IF / ELSE

    1 Answer

  • Linus Hallberg
    Linus Hallberg
    845 Points

    it says task1 is no longer passing?

    Posted March 10, 2016 12:23pm by Linus Hallberg
    Linus Hallberg
    845 Points
    • iOS
    • Objective-C Basics
    • Introduction to Operators and Conditionals
    • Review IF / ELSE

    0 Answers

  • BIRIMA BURMA
    BIRIMA BURMA
    1,030 Points

    Hi! I,am again with if else training!

    Posted March 9, 2016 8:43pm by BIRIMA BURMA
    BIRIMA BURMA
    1,030 Points
    • iOS
    • Objective-C Basics
    • Introduction to Operators and Conditionals
    • Review IF / ELSE

    3 Answers

  • BIRIMA BURMA
    BIRIMA BURMA
    1,030 Points

    Hi! please tell me and help what is rong here to sete if else ?

    Posted March 9, 2016 8:25pm by BIRIMA BURMA
    BIRIMA BURMA
    1,030 Points
    • iOS
    • Objective-C Basics
    • Introduction to Operators and Conditionals
    • Review IF / ELSE

    1 Answer

  • Marco Garduño
    Marco Garduño
    1,549 Points

    I just don´t know what is wrong , help please!

    Posted March 9, 2016 1:59am by Marco Garduño
    Marco Garduño
    1,549 Points
    • iOS
    • Objective-C Basics
    • Introduction to Operators and Conditionals
    • Review IF / ELSE

    1 Answer

  • Mika Quentin
    Mika Quentin
    1,885 Points

    If / Else statement with Bool

    Posted February 10, 2016 12:40pm by Mika Quentin
    Mika Quentin
    1,885 Points
    • iOS
    • Objective-C Basics
    • Introduction to Operators and Conditionals
    • Review IF / ELSE

    3 Answers

  • Dylan Aresu
    Dylan Aresu
    9,687 Points

    What the heck... Need help on code challenge, very simple.

    Posted February 8, 2016 1:54am by Dylan Aresu
    Dylan Aresu
    9,687 Points
    • iOS
    • Objective-C Basics
    • Introduction to Operators and Conditionals
    • Review IF / ELSE

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

  • About
  • Blog
  • Community
  • Stories
  • Contact
  • Gift Card

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord