title: Determining if a number is either a multiple of ten or within a particular set of ranges
body: <p>I have a few loops that I need in my program. I can write out the pseudo code, but I'm not entirely sure how to write them logically.</p>
  <p>I need -</p>
  <pre><code>if (num is a multiple of 10) { do this }
  
  if (num is within 11-20, 31-40, 51-60, 71-80, 91-100) { do this }
  else { do this } //this part is for 1-10, 21-30, 41-50, 61-70, 81-90
  </code></pre>
  <p>This is for a snakes and ladders board game, if it makes any more sense for my question.</p>
  <p>I imagine the first <em>if</em> statement I'll need to use modulus. Would <code>if (num == 100%10)</code> be correct?</p>
  <p>The second one I have no idea. I can write it out like <code>if (num &gt; 10 &amp;&amp; num is &lt; 21 || etc.)</code>, but there has to be something smarter than that.</p>