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)", where P is the loan amount in dollars), is the loan period (in years), and is the interest rate (0 ≤r≤1). 1Enter interest rate (in percentage): 8.99 2 Enter loan period (in years): 5 3 At 8.99% interest, you need to pay $23068.77 after 5.0 years.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter2: Problem Solving Using C++using
Section2.6: A Case Study: Radar Speed Traps
Problem 4E
icon
Related questions
Question

Please send me answer within 10 min!! I will rate you good for sure!! Please provide comment comment for each line in the code and provide complete explanation!!

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)", where P is the loan
amount in dollars), n is the loan period (in years), and is the interest rate (0 ≤r≤1).
Enter interest rate (in percentage): 8.99
2 Enter loan period (in years): 5
3
4 At 8.99% interest, you need to pay $23068.77 after 5.0 years.
Transcribed Image Text: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)", where P is the loan amount in dollars), n is the loan period (in years), and is the interest rate (0 ≤r≤1). Enter interest rate (in percentage): 8.99 2 Enter loan period (in years): 5 3 4 At 8.99% interest, you need to pay $23068.77 after 5.0 years.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Datatypes
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning