Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

the interest rate and loan period. Therefore, you want to plan ahead and calculate the total pay off amount using the loan amount, loan period

image text in transcribed
the interest rate and loan period. Therefore, you want to plan ahead and calculate the total pay off amount using the loan amount, loan period and interest rate. Write a Python program stored in a file q3.py that asks the user for loan period (in years) and interest rate (in percentage) as user input and print out the total pay off amount. Total payoff amount C can be calculated using the formula C=P(1+r)n, where P is the loan amount in dollars), n is the loan period (in years), and r is the interest rate (0r1). Enter interest rate (in percentage): 8.99 Enter loan period (in years): 5 At 8.99% interest, you need to pay $23068.77 after 5.0 years

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions