title: What are the practical uses of modulus (%) in programming?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2609315/recognizing-when-to-use-the-mod-operator">Recognizing when to use the mod operator</a>  </p>
  </blockquote>
  
  
  
  <p>What are the practical uses of modulus? I know what modulo division is. The first scenario which comes to my mind is to use it to find odd and even numbers, and clock arithmetic. But where else I could use it?</p>