yeah i just moved that down i had to make it a double total = 0 in order for it to work, but i still need the total problem fixed.
the users enters 2500 and .04
it should display
1 = total
but then i need the total to pick up from year 1 and do the process again all the way to year 6, when i run this program now i get 2600 for every year, judging by the way this is going the correct result should be.