Question: create a python code for the given problem. Problem B: Compound Interest Pretend that you have just opened a new savings account that earns 4

create a python code for the given problem.
Problem B: Compound Interest
Pretend that you have just opened a new savings account that earns 4% interest per year. The interest that you earn is paid at the end of the year, and is added to the balance of the savings account.
Write a program that begins by reading the amount of money deposited into the account from the user. Then your program should compute and display the amount in the savings account after 1,2, and 3 years. Display each amount so that it is rounded to 2 decimal places.
Hint: Use the compound interest formula that you can find online.
[IN]: 100000.00
[OUT]: After 1 year(s): 104000.00
[OUT]: After 2 year(s): 108160.00
[OUT]: After 3 year(s): 112486.40
create a python code for the given problem.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!