title: Assistance with an issue in my codes return values
body: <p>First I'm just looking for a nudge in the right direction so no outright answers please. 
  My code is running correctly or so I thought, whenever I run the code with test values I am getting
  a crazy value for the monthly payment amount. </p>
  
  <p>I am using these values as given to me:
  Amount; $500,000.00
  Interest: 5.6%
  Years: 30</p>
  
  <p>I am getting 2,000,000 or so as an answer any help would be greatly appreciated!</p>
  
  <p>Primarily the part below. </p>
  
  <pre><code>    public static double getInterestAmount(Scanner sc, double loanAmt, double interestRate, int years) {
          int months = years * 12;
  
          double monthlyPayment = loanAmt * interestRate / (1 - 1/Math.pow(1 + interestRate, months));
          return monthlyPayment;
      }
  }
  </code></pre>