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!
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
Luis PaulinoCourses Plus Student 1,779 Points
How to assign a bool a value of another boool?
I don't under stand I'm pretty sure I'm writing it correctly, but I'm sure there is a grammar mistake I'm making I can't see.
bool isMember=true; bool getDiscount=isMember;
Jennifer NordellTreehouse Teacher
Oh so close! It's actually just a spelling error. They want the variable named
getsDiscount and you've typed
getDiscount. Note the additional "s" in the first variable name