T Weeklytask2 210 4 X Chegg Study Guided Sc Secure Https E Weekly Task2 Joe Plans Open Ban Q26544141

Please write this problem in python code. Thank you so much forthe help

t wEEKLYTask2-IT 210-4. x. © Chegg Study Guided Sc ← Secure I https:/ e WEEKLY Task2 Joe plans to open a bank account with a starting principal amount. On 31st December of each year, this bank pays an interest on the balnce of the account. On January 1st the new balance for the new year is the sum of the previous balance and the total interest earned on Dec 31st. The interest for the new yoar is also increased by an interest rate increament. The interest rate is capped at 6% ie it remains constant at 6% over the subsequent years. You need to write python code that will input the following informatian from the keyboard Starting Principal amount . Starting interest rate Interest rate increment Your code then should output on separate lines the balance on Jan 1 of each year and continue until the final balance becomes equal or more than two times the initial balance. At the end the program should write a message: “Your initial principal will be doubled in xx years Sample output for the given input as below Starting Principal = $2000.00 Starting Interst Rate-4% Interest Rate Increment = 5% Year Interest Rate Balnace on Jan 1 0.04 0,04 .045 0.05 e,ess .06 .06 0.86 .66 .06 0.66 2800.6 2880,e 2173.6 2282.28 2407,81 2552.27 2705。41 2867. 73 3039,8 3222.19 18 415 2:50 AM 2V2018 Type here to search ^ Show transcribed image text

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published.