title: AND OR order of operations
body: <p>What is the equivalent of this statement?</p>
  
  <pre><code>if(cond1 AND cond2 AND cond3 OR cond4 AND cond5 AND cond6)
  </code></pre>
  
  <p>Is it</p>
  
  <pre><code>if((cond1 AND cond2 AND cond3) OR (cond4 AND cond5 AND cond6))
  </code></pre>
  
  <p>Or</p>
  
  <pre><code>if(cond1 AND cond2 AND (cond3 OR cond4) AND cond5 AND cond6)
  </code></pre>
  
  <p>Or</p>
  
  <pre><code>if(((cond1 AND cond2 AND cond3) OR cond4) AND cond5 AND cond6)
  </code></pre>
  
  <p>ect...</p>
  
  <p>This has been something that I've always been scared approaching, to which I just surround the conditions in parenthesis <code>( )</code>. It would be great if my mind could be settled.</p>