title: If/Else Logical Flow
body: <p>If I have something like:</p>
  
  <pre><code>if (n % 10 == 8 &amp;&amp; (n/10) % 10 == 8) count = count + 2;
  else if (n % 10 == 8) count++;
  </code></pre>
  
  <p>Basically, if condition <code>a</code> and <code>b</code> holds, then do something. If only condition <code>a</code> holds, do something else. What is the best logical flow for this?</p>