Java Loan Calculator — code not producing correct results
I’m pretty new to Java, and I was trying to make a calculator for loan payments, for an assignment. But it doesn’t seem to be putting out the right result, since calculating equations by hand gives me a different result. What am I doing wrong?