title: Working with computing changes with Arrays
body: <p>I am trying to compute changes via java programming --> Parallel arrays.
  For some reason i keep getting "0s" as my output. But the rest of the program runs fine.</p>
  
  <p>Here is the part of my program where the "computing" occurs.</p>
  
  <pre><code>  public int computePopulationChange(int population2010[], int population2000[])
    {      
       populationChange[count] = population2000[count] - population2010[count]; 
       return populationChange[count];
    }//end computePopulationChange
  
    public double computePercentChange(int population2010[], int population2000[])
    {
       percentChange[count] = ((population2000[count] - population2010[count])/population2000[count]) * 100;  
       return percentChange[count];
    }//end computePercentChange
  </code></pre>
  
  <p>Are there specific steps to take when trying to compute numbers from a data file?
  I am not to sure as to what i am missing in the whole program.</p>