Question: my language is python *2.11 (Financial application: investment amount) Suppose you want to deposit a certain amount of money into a savings account with a

*2.11 (Financial application: investment amount) Suppose you want to deposit a certain amount of money into a savings account with a fixed annual interest rate. three years? The initial deposit amount can be obtained using the account after formula: initialDepositAmount=(1+monthlyInterestRate)numberogMonthsfinalAccountValue Write a program that prompts the user to enter final account value, annual interest rate in percent, and the number of years, and displays the initial deposit amount. final_acct_value = int(input("Enter final account value: ")) annual_interest_rate = float(input("Enter annual rate in percent: ")) number_of_years = int(input("Enter number of years: ")) number_of_months = number_of_years / 12 monthly_interest_rate =( (annual_interest_rate /100)/12)100 1 i.ial_deposit_amount = (final_acct_value /(1+ monthly_interest_rate ) number print("Initial deposit value is ", intial_deposit_amount)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
