I created the "banking program" below, I just need help calculating additional interest. Interest is automatically added into the balance if they choose over 1000 deposit and more than 12 months, but I am trying to add a while loop that allows them to add additional interest if they want it. Everything works, I just don't know the right formula for the additional interest. Please look below and tell me where I went wrong.
Thank You! Line 51 is what I am having problems with, it shows the new interest, but the total is wrong when I test it.
amount should be multiplied by 1.05 and 1.10 respectively when assigned to interest... and then you don't need to add the interest, because they're already included in the amount variable...