title: How many conditions can an if check for
body: <p>How many conditions can an if check for?
  EG,</p>
  
  <pre><code>if(a==1 &amp;&amp; b==1 &amp;&amp; c==1 &amp;&amp; ... &amp;&amp; n==1)
  </code></pre>
  
  <p>I know this could probably be solved simply by nesting ifs and then it wouldn't be an issue how many. But frankly, I'm curious and can't seem to find how many it will take.</p>
  
  <p>In addition, since I have your attention anyway, is there any difference in efficiency between </p>
  
  <pre><code>if(a==1 &amp;&amp; b ==1)
  </code></pre>
  
  <p>And</p>
  
  <pre><code>if(a==1)
      if(b==1)
  </code></pre>