HELP FAST!!----Interest Calculator
Hey guys. Im new to here and new to Java. My class is doing a simple assignment to compute interest on a initial deposit in the bank for 1,5,10,20,30 years. I have to print the current balance at the end of each time frame. I cant figure out how to get the interest for each month COMPOUNDED upon each other. For example) a deposit of $100 at .01 interest would not be $112 at the end of year 1, it would be more because you earn interest on the interest already earned for every month. I think i need to do a loop but Im not sure. HELP WITH SINTAX!!!!!!