Need help understanding precedence

Hello,
I was on 11. Generalizations and I did it and everything, but I don’t understand what the point of // ( 3 >= 3 && !(true || true) ) was ?? Like the first thing it tells you to do is:

“Use the precedence rules to help you evaluate the Boolean expression in the single line comment above the tricky variable.”

I don’t get it, I just added = false; after the sticky boolean and it worked

Thanks it advance!

conditions always evaluate to either true or false, you had to manually solve the comparison provided in the comment and set the tricky variable accordingly

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.