title: Array Division - What is the best way to divide two numbers stored in an array?
body: <p>I have two arrays (dividend, divisor):</p>
  
  <pre><code>dividend[] = {1,2,0,9,8,7,5,6,6};
  divisor[] = {9,8};
  </code></pre>
  
  <p>I need the result (dividend/divisor) as:</p>
  
  <pre><code>quotient[] = {1,2,3,4,5,6,7};
  </code></pre>
  
  <p>I did this using array subtraction:</p>
  
  <ul>
  <li>subtract divisor from dividend until dividend becomes 0 or less than divisor, each time incrementing quotient by 1,</li>
  </ul>
  
  <p>but it takes a huge time.  Is there a better way to do this?</p>