PYTHON!!! The credit plan at TidBit Computer Store specifies a 10% down payment and an annual interest rate of 12%. Monthly payments are 5% of the listed purchase price, minus the down payment. Write a program that takes the purchase price as input. The program should display a table, with appropriate headers, of a payment schedule for the lifetime of the loan. Each row of the table should contain the following items: The month number (beginning with 1) The current total balance owed The interest owed for that month The amount of principal owed for that month The payment for that month The balance remaining after payment The amount of interest for a month is equal to balance × rate / 12. The amount of principal for a month is equal to the monthly payment minus the interest owed. An example of the program input and output is shown below: Enter the puchase price: 200 (SEE IMAGE FOR PURCHASE PRICE CHART)   Results you should get: Input: 200

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

PYTHON!!!

The credit plan at TidBit Computer Store specifies a 10% down payment and an annual interest rate of 12%. Monthly payments are 5% of the listed purchase price, minus the down payment.

Write a program that takes the purchase price as input. The program should display a table, with appropriate headers, of a payment schedule for the lifetime of the loan. Each row of the table should contain the following items:

  1. The month number (beginning with 1)
  2. The current total balance owed
  3. The interest owed for that month
  4. The amount of principal owed for that month
  5. The payment for that month
  6. The balance remaining after payment

The amount of interest for a month is equal to balance × rate / 12.

The amount of principal for a month is equal to the monthly payment minus the interest owed.

An example of the program input and output is shown below:

Enter the puchase price: 200

(SEE IMAGE FOR PURCHASE PRICE CHART)

 

Results you should get:

Input: 200

Output: Purchase price: 200

1\s+180.00\s+1.80\s+7.20\s+9.00\s+172.80
7\s*135.71\s*1.36\s*7.64\s*9.00\s*128.06
15\s*72.38\s*0.72\s*8.28\s*9.00\s*64.10
23\s*3.80\s*0.00\s*3.80\s*3.80\s*0.00
 
 
Input: 425.95
 
Output: 
1\s*383.36\s*3.83\s* 15.33\s* 19.17\s*368.02
7\s*289.02\s*2.89\s* 16.28\s* 19.17\s*272.74
13\s*188.88\s*1.89\s* 17.28\s* 19.17\s*171.60
22\s*27.00\s*0.27\s* 18.90\s* 19.17\s*8.10
### Loan Amortization Table

This table demonstrates the breakdown of loan payments over 23 months, detailing how each payment affects the principal and interest.

| Month | Starting Balance | Interest to Pay | Principal to Pay | Payment | Ending Balance |
|-------|------------------|-----------------|------------------|---------|---------------|
| 1     | 180.00           | 1.80            | 7.20             | 9.00    | 172.80        |
| 2     | 172.80           | 1.73            | 7.27             | 9.00    | 165.53        |
| 3     | 165.53           | 1.66            | 7.34             | 9.00    | 158.18        |
| 4     | 158.18           | 1.58            | 7.42             | 9.00    | 150.77        |
| 5     | 150.77           | 1.51            | 7.49             | 9.00    | 143.27        |
| 6     | 143.27           | 1.43            | 7.57             | 9.00    | 135.71        |
| 7     | 135.71           | 1.36            | 7.64             | 9.00    | 128.06        |
| 8     | 128.06           | 1.28            | 7.72             | 9.00    | 120.34        |
| 9     | 120.34           | 1.20            | 7.80             | 9.00    | 112.55        |
| 10    | 112.55           | 1.13            | 7.87             | 9.00    | 104.67        |
| 11    | 104.67           | 1.05            | 7.95             | 9.00    | 96.72         |
| 12    | 96.72            | 0.97            | 8.03             | 9.00    | 88.69         |
| 13    | 88.69            | 0.89
Transcribed Image Text:### Loan Amortization Table This table demonstrates the breakdown of loan payments over 23 months, detailing how each payment affects the principal and interest. | Month | Starting Balance | Interest to Pay | Principal to Pay | Payment | Ending Balance | |-------|------------------|-----------------|------------------|---------|---------------| | 1 | 180.00 | 1.80 | 7.20 | 9.00 | 172.80 | | 2 | 172.80 | 1.73 | 7.27 | 9.00 | 165.53 | | 3 | 165.53 | 1.66 | 7.34 | 9.00 | 158.18 | | 4 | 158.18 | 1.58 | 7.42 | 9.00 | 150.77 | | 5 | 150.77 | 1.51 | 7.49 | 9.00 | 143.27 | | 6 | 143.27 | 1.43 | 7.57 | 9.00 | 135.71 | | 7 | 135.71 | 1.36 | 7.64 | 9.00 | 128.06 | | 8 | 128.06 | 1.28 | 7.72 | 9.00 | 120.34 | | 9 | 120.34 | 1.20 | 7.80 | 9.00 | 112.55 | | 10 | 112.55 | 1.13 | 7.87 | 9.00 | 104.67 | | 11 | 104.67 | 1.05 | 7.95 | 9.00 | 96.72 | | 12 | 96.72 | 0.97 | 8.03 | 9.00 | 88.69 | | 13 | 88.69 | 0.89
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Mathematical functions
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
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education