Question: All I need is the blurred parts. Using python. Exercise 2 Create a Python application that will allow the user to calculate the future value






All I need is the blurred parts. Using python.
Exercise 2 Create a Python application that will allow the user to calculate the future value of an investment. The user will enter a monthly amount, annual interest rate and number of years for the investment. You will code a loop to calculate the future value and display the value of each month and the final value. Some key formulas and free Python code snippets: Note that the term is in years but we need to show the value of each month so a 5 year savings account would be 60 months. months = years 12 Interest rates are a percentage and entered as 3.25 (i.e., for 3.25%), 1.125, etc. This is also an annual percentage rate (APR). We need to divide this rate by 100 and then by 12 to get the monthly percentage rate. monthlyIntRate = annualIntRate /100/12 The future Value variable is an accumulator as it accumulates value as the loop executes. future Value = (future Value + monthly Amount) (1 + monthly Rate) Steps 1. You can create either a flowchart or pseudocode to document your design. This is worth points and please complete this before attempting to write code! 2. Start Python IDE. Create a new file called Lab3Future Value in your \Labs Lab3 folder. 3. Code the application. Some of the code is given. The parts that are blurred out you get to code! #!/user/bin/env python3 + Cuyamaca College 08-119 + Lab 3 future value # variables and constants monthly amt = 0.0 years = 0 annual_int rate = 0.0 monthly_int_rate=0.0 IV = 0.0 months = 0 month_num=1 + message with Python format specifiers msg - Month: 10:34) rv: $11.2) Interest: $12:20" interest - 0.0 tot_interest - 0.0 + input-get monthly ant, period and interest rate monthly amt - float(input("Enter monthly amount: ">) annual_int_rate- years - process monthly_int rate months while month_num
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
