2 develop an algorithm for computing the month by month balance in your savings acco 5148980
2. Develop an algorithm for computing the month-by- month balance in your savings account. You can make one transaction—a deposit or a withdrawal—each month. Interest is added to the account at the beginning of each month. The monthly interest rate is the yearly percentage rate 7%.
3. Write a program that implements your algorithm from practice 2 above.
Program work for 12 months only and stop.
Sample output:
Would you like to make a deposit (d) or withdrawal (w)?
d
What is the amount?
450
Your current balance is 450.0
would you like to make a deposit (d) or withdrawal (w)?
w
Your current balance is 407.625
would you like to make a deposit (d) or withdrawal (w)?