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:

Operations Research : Applications and Algorithms
4th Edition
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Wayne L. Winston
Chapter17: Markov Chains
Section17.5: Steady-state Probabilities And Mean First Passage Times
Problem 10P
icon
Related questions
Question

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:

 

the puchase price: 200
Starting Balance Interest to Pay Principal to Pay Payment
1.80
7.20
9.00
1.73
9.00
1.66
9.00
1.58
9.00
1.51
9.00
1.43
9.00
1.36
9.00
1.28
1.20
1.13
1.05
0.97
0.89
0.81
0.72
0.64
0.56
180.00
172.80
165.53
158.18
150.77
143.27
135.71
128.06
120.34
112.55
104.67
96.72
88.69
80.57
72.38
64.10
55.74
47.30
38.77
30.16
21.46
12.68
3.80
0.47
0.39
0.30
0.21
0.13
0.00
7.27
7.34
7.42
7.49
7.57
7.64
7.72
7.80
7.87
7.95
8.03
8.11
8.19
8.28
8.36
8.44
8.53
8.61
8.70
8.79
8.87
3.80
9.00
9.00
9.00
9.00
9.00
9.00
9.00
9.00
9.00
9.00
9.00
9.00
9.00
9.00
9.00
3.80
Ending Balance
172.80
165.53
158.18
150.77
143.27
135.71
128.06
120.34
112.55
104.67
96.72
88.69
80.57
72.38
64.10
55.74
47.30
38.77
30.16
21.46
12.68
3.80
0.00
Transcribed Image Text:the puchase price: 200 Starting Balance Interest to Pay Principal to Pay Payment 1.80 7.20 9.00 1.73 9.00 1.66 9.00 1.58 9.00 1.51 9.00 1.43 9.00 1.36 9.00 1.28 1.20 1.13 1.05 0.97 0.89 0.81 0.72 0.64 0.56 180.00 172.80 165.53 158.18 150.77 143.27 135.71 128.06 120.34 112.55 104.67 96.72 88.69 80.57 72.38 64.10 55.74 47.30 38.77 30.16 21.46 12.68 3.80 0.47 0.39 0.30 0.21 0.13 0.00 7.27 7.34 7.42 7.49 7.57 7.64 7.72 7.80 7.87 7.95 8.03 8.11 8.19 8.28 8.36 8.44 8.53 8.61 8.70 8.79 8.87 3.80 9.00 9.00 9.00 9.00 9.00 9.00 9.00 9.00 9.00 9.00 9.00 9.00 9.00 9.00 9.00 3.80 Ending Balance 172.80 165.53 158.18 150.77 143.27 135.71 128.06 120.34 112.55 104.67 96.72 88.69 80.57 72.38 64.10 55.74 47.30 38.77 30.16 21.46 12.68 3.80 0.00
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Graphical User Interface
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
Operations Research : Applications and Algorithms
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole