Ask user for interest rate
begin loop structure
Each loop would contain
balance = balance 1.011
end loop
print balance.
Write a program to print out a table showing the total balance at the end of each year for various interest rate. The program will take a) the initial deposit b) the target interest-rate c) the year of deposit as the input from the user
The program should use at least one of each loop structure; while, do a while, and NESTED FOR loops, ETC.
Initial deposit? 10,000
Rate interest? 1.1
Number of years?