title: calling the method into matrix yields 0 instead of correct temps
body: <p>Here's my new part of code:</p>
  
  <pre><code>for (int i = 0; i &lt; 2; i++) {
          for (int j = 0; j &lt; 2; j++) {
              double tempVal = inputFile.nextDouble();
             degreeMatrix[i][j] = converter(tempVal);
  
              System.out.println(degreeMatrix[i][j]);
  </code></pre>
  
  <p>ok so I created a file called, inMatrix.txt.  Inside this file say i have a 4 number which is temp in Fahrenheit such as:
  12
  11
  40
  19</p>
  
  <p>Now, i want to read these numbers in from the file, and then use a method called converter to convert each number to Celcius.  Then put each new temperature in a 2x2 matrix called degreeMatrix, which I will fill row wise.  and then after processing each number, a for loop will be used to print out each new temperature from degreeMatrix.</p>
  
  <p>Here's my code: </p>
  
  <pre><code>import java.util.Scanner;
  import java.io.File;
  import java.io.IOException;
  
  
  public class TempConversion {
  
  public static void main(String[] args) throws IOException {
  
      File matrixFile = new File("inMatrix.txt");
      Scanner inputFile = new Scanner(matrixFile);
      double [][] degreeMatrix = new double[2][2];
  
  
  
  
      for (int i = 0; i &lt; 2; i++) {
          for (int j = 0; j &lt; 2; j++) {
              double tempVal = inputFile.nextInt();
  
  
              System.out.println(degreeMatrix[i][j]);
  
  
  
          //System.out.println(degreeMatrix); 
      }
  
      }
  }
  
  public static double converter(double temp2){
  
      double tempC = 0.0;
  
      tempC = (temp2-32.0)*(5.0/9.0);
  
      System.out.println(tempC);
  
      return tempC;
  
     }
  }
  </code></pre>
  
  <p>but when i print, it prints everything in zeros. I must be missing a line of code in main right before:</p>
  
  <pre><code>System.out.println(degreeMatrix[i][j]); 
  </code></pre>
  
  <p>but cant figure out whats missing. thanks for you help. </p>