Question: question: When i ran the program, the result does not seem right. How do i correct it? thank you. Program Future Value Inputs principal The

question:  question: When i ran the program, the result does not seem
right. How do i correct it? thank you. Program Future Value Inputs
principal The amount of money being invested in dollars. APR The annual
When i ran the program, the result does not seem right. How do i correct it? thank you.

Program Future Value Inputs principal The amount of money being invested in dollars. APR The annual percentage rate expressed as a decimal number. Output The value of the investment 10 years into the future. Relationship Value after one year is given by principal(1 + apr). This formula needs to be applied 10 times. 1 #Future Value 2 3 p = int(input("Enter the initial principle: ")) 4 a = int(input("Enter the annual interest rate: ")) 5 for i in range(10): 6 p = p*(1+a) 7 print("The value after 10 years:", p) 8 9 10 G Integers a... Project 2 p... G Project 2 p... G Project 2 p... 9 Project 2 p... Compile Messages JGRASP Messages Run 1/0 Interactions End Enter the initial principle: 100 Enter the annual interest rate: 0.03 Clear ('The value after 10 years:', 100) Hein

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 Databases Questions!