title: Write a function count(number, array, length) that will count the number of times number appears in array
body: <p>I'm completing the problem sets out of an o'reilly textbook on my own and I'm a bit confused on what I'm supposed to be doing with this program.
  The question is: Write a function <code>count(number, array, length)</code> that will count the number of times number appears in <code>array</code>. the array has <code>length</code> elements. The function should be recursive. Write a test program to go with the function.</p>
  
  <p>The question is copied word for word, but I have a few questions about this question. if you could leave a comment stating your opinion about the following, that would be nice:</p>
  
  <ol>
  <li>Okay, I need an <code>array</code> with length <code>length</code>, do I store my own numbers in the slots? or do I generate random integers to go in the slots?</li>
  <li>also, do I have the right plan? My plan is to: </li>
  </ol>
  
  <p>create the array and call <code>count</code> in main.
  the function <code>count</code> will be an if loop that goes through the array until it finds <code>number</code> it will then add one to a counter. then the <code>count</code> function will call it's self with the parameters <code>count(int number; int array; int (length - 1))</code></p>
  
  <p>Now that I try to talk myself through it, I am now even more confused. Maybe I'm just making the question more difficult. Any tips will help. Thanks</p>