Where does the code currently use elements from the arrays? Can that code be put in a loop that iterates through all the elements in the arrays instead of just using the one hardcoded [0]th element?
Type: Posts; User: Norm
Where does the code currently use elements from the arrays? Can that code be put in a loop that iterates through all the elements in the arrays instead of just using the one hardcoded [0]th element?
Are you sure that you don't need to calculate the values for all three years for each of the interest rates? That would make for 9 different calculations.
You think you only need to do it for 3. ...
Can you explain what you want to do?
For any loan I would assume that there is one interest rate and one term of years.
Pick an interest rate and then compute the values for all the terms of...
You need to properly format your code to make it easier to read and understand.
Statements within for statements should be indented and enclosed in {}s
Can you explain what your problem with...