reate a purchase-finance program that asks for a purchase price, requires a 10% down payment, and a 5% (of purchase price) payment per month. Print out a table that shows payment number, balance before payment, payment, interest and principal include in the payment and balance after payment. Use formatting so that all fields (Columns) align and are rounded to two decimal places. Python programming
Python code
purchaseprice = float(input("Enter purchase price: "))
downpayment = 0.1 * purchaseprice
paymentpermonth = 0.05 * purchaseprice
ispaymentcomplete = False
paymentnumber = 0
interestpermonth = 0.01
totalmonths = (100-10)/5
balancebeforepayment = purchaseprice + interestpermonth *
totalmonths * paymentpermonth
print("P.no",end=" | ")
print("Prior Bal",end=" | ")
print("Payment", end=" | ")
print("Interest",end=" | ")
print("Principal",end=" | ")
print("Post Bal",end=" ")
print("")
while paymentnumber != totalmonths:
paymentnumber = paymentnumber +
1
print(str(paymentnumber),end =" | ")
print(str(round(balancebeforepayment,2)),end =" | ")
principalincluded = paymentpermonth
payment = 0
if paymentnumber == 1:
payment = downpayment
interestincluded = principalincluded *
interestpermonth
payment = payment + principalincluded + interestincluded
print(str(round(payment,2)),end =" | ")
print(str(round(interestincluded,2)),end =" | ")
print(str(round(principalincluded,2)),end =" | ")
balanceafterpayment = balancebeforepayment - payment
print(str(round(balanceafterpayment,2)),end =" | ")
print("")
balancebeforepayment = balanceafterpayment
Sample output
Enter purchase price: 1500
P.no | Prior Bal | Payment | Interest | Principal | Post Bal
1 | 1513.5 | 225.75 | 0.75 | 75.0 | 1287.75 |
2 | 1287.75 | 75.75 | 0.75 | 75.0 | 1212.0 |
3 | 1212.0 | 75.75 | 0.75 | 75.0 | 1136.25 |
4 | 1136.25 | 75.75 | 0.75 | 75.0 | 1060.5 |
5 | 1060.5 | 75.75 | 0.75 | 75.0 | 984.75 |
6 | 984.75 | 75.75 | 0.75 | 75.0 | 909.0 |
7 | 909.0 | 75.75 | 0.75 | 75.0 | 833.25 |
8 | 833.25 | 75.75 | 0.75 | 75.0 | 757.5 |
9 | 757.5 | 75.75 | 0.75 | 75.0 | 681.75 |
10 | 681.75 | 75.75 | 0.75 | 75.0 | 606.0 |
11 | 606.0 | 75.75 | 0.75 | 75.0 | 530.25 |
12 | 530.25 | 75.75 | 0.75 | 75.0 | 454.5 |
13 | 454.5 | 75.75 | 0.75 | 75.0 | 378.75 |
14 | 378.75 | 75.75 | 0.75 | 75.0 | 303.0 |
15 | 303.0 | 75.75 | 0.75 | 75.0 | 227.25 |
16 | 227.25 | 75.75 | 0.75 | 75.0 | 151.5 |
17 | 151.5 | 75.75 | 0.75 | 75.0 | 75.75 |
18 | 75.75 | 75.75 | 0.75 | 75.0 | 0.0 |
reate a purchase-finance program that asks for a purchase price, requires a 10% down payment, and...
Calculate the finance charge: Sofa purchase price Down Payment Number of monthly payments Amount of monthly payments $1,600 $400 12 $190
Please I wish you use Python 3.7 for this problems. Q1. Write a program that receives a series of numbers from the user and allows the user to press the enter key to indicate that he or she is finished providing inputs. After the user presses the enter key, the program should print the sum of the numbers and their average. Q2. The credit plan at TidBit Computer Store specifies a 10% down payment and an annual interest rate of...
PYTHON CODE PLEASE!!! 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)...
Show through excel
F G H $ A 1 Purchase price 2 Down payment (%) 3 Annual interest rate 4 Number of years 5 Monthly mortgage payment 800,000 20.00% 4.50% 30 Beginning Balance Month Interest Principal Ending Balance 11 11 13 14 15 16| 17| 18 19 20 23 24 25 26 WACC Corp Valuation Amortization +
Screenshot (275).pngCullumber Tooling Ltd. is assessing two available options for the purchase of new equipment with a negotiated cash price of $160,000. The manufacturer is willing to accept a down payment of 20% of the purchase price and an instalment note for the balance. The note would require quarterly fixed principal payments (plus interest) starting October 1, 2020, for a period of two years. Cullumber has a proposal from its bank for an instalment loan for two years that requires...
The price of a new car is $12.000. Assume that an Individual makes a down payment of 25 toward the purchase of the car and secures financing for the balance at the rate of 5 compounded monthly. (Round your answers to the nearest cent.) (a) What monthly payment will she be required to make if the car is financed over a period of 36 months? (b) What will the interest charges befshe elects the 36-month plan so-month plans.
annual payment
You are taking a loan out on a car. The purchase price of the car is $12,183 and the financing company is offering an APR of 11.12%. If you make a $2,000 down payment on the vehicle and finance the balance over 5 years, your annual Round your answer to two decimal places. payments would be $
Lupe made a down payment of $2500 toward the purchase of a new car. To pay the balance of the purchase price, she has secured a loan from her bank at the rate of 12%/year compounded monthly. Under the terms of her finance agreement she is required to make payments of $200/month for 36 months. What was the cash price of the car? (Round your answer to the nearest cent.) $
Lupe made a down payment of $2,000 toward the purchase of a new car. To pay the balance of the purchase price, she has secured a loan from her bank at the rate of 12%/year compounded monthly. Under the terms of her finance agreement, she is required to make payments of $200/month for 30 mo. What is the cash price of the car? $3,611.04 $7,161.54 $8,956.98 O $5,161.54
Lupe made a down payment of $1500 toward the purchase of a new car. To pay the balance of the purchase price, she has secured a loan from her bank at the rate of 10%/year compounded monthly. Under the terms of her finance agreement she is required to make payments of $220/month for 36 months. What was the cash price of the car? (Round your answer to the nearest cent.) $