Question: . Could you help me write this program? PYTHON. Question 1 Suppose you deposited $100 into an investment account that pays you 1% every month.
. Could you help me write this program? PYTHON.
Question 1 Suppose you deposited $100 into an investment account that pays you 1% every month. After the first month, the value in the account becomes: 100 * (1 +0.01) = 101 After the second month, the value in the account becomes: 101 * (1 +0.01) = 102.01 After the third month, the value in the account becomes: (102.01) * (1+0.01) = 103.03 and so on Write a program that prompts the user to enter any amount (e.g., 50) and the number of months (e.g., 6), and displays the amount in the investment account after the given month. Embed error checking into your program (e.g. the deposit and the number of months cannot be negative)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
