subject

When you borrow money to buy a house, a car, or for some other purpose, you repay the loan by making periodic payments over a certain period of time. of course, the lending company will charge interest on the loan. every periodic payment consists of the interest on the loan and the payment toward the principal amount. to be specific, suppose that you borrow $1000 at the interest rate of 7.2% per year and the payments are monthly. suppose that your monthly payment is $25. now, the interest is 7.2% per year and the payments are monthly, so the interest rate per month is 7.2/12=0.6%. the first month; s interest on $1000 is 1000 * 0.006=6. because the payment is $25 and interest for the first month is $6, the payment toward the principal amount is 25-6=19. this means after making the first payment, the loan amount is 1000-19=981. for the second payment, the interest is calculated on $981. so the interest for the second month is 981 * 0.006=5.886, that is, approximately $5.89. this implies that the payment toward the principal is 25-5.89=19.11 and remaining balance after the second payment is 981-19.11=961.89. this process is repeated until the loan is paid. write a program that accepts as input the loan amount, the interest rate per year, and the montly payment. (enter the interest rate as a percentage. for example, if the interest rate is 7.2% per year, then enter 7.2) the program then outputs the number of months it would take to repay the loan. (note that if the monthly payment is less than the first month's interest, then after each payment, the loan amount will increase. in this case, the program must warn the borrower that the monthly payment is too low, and with this payment, the loan amount could not be repaid.)best answer

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 11:30, stodd9503
Awell-diversified portfolio needs about 20-25 stocks from different categories is this true or false?
Answers: 2
image
Computers and Technology, 24.06.2019 14:30, ari313
Two students are discussing the flow of electricity. student a says that voltage is a measure of the amount of electron flow in a circuit. student b says that power is the product of voltage and current. which of the following statements is correct? a. only student a is correct b. only student b is correct c. both of the two students are correct d. neither of the two students is correct
Answers: 1
image
Computers and Technology, 25.06.2019 13:30, raedusty3200
Scenario: 1. victim opens the attacker's web site. 2. attacker sets up a web site which contains interesting and attractive content like 'do you want to make $1000 in a day? '. 3. victim clicks to the interesting and attractive content url. 4. attacker creates a transparent 'iframe' in front of the url which victim attempt to click, so victim thinks that he/she clicks to the 'do you want to make $1000 in a day? ' url but actually he/she clicks to the content or url that exists in the transparent 'iframe' which is setup by the attacker. what is the name of the attack which is mentioned in the scenario?
Answers: 1
image
Computers and Technology, 25.06.2019 22:00, batoolishak7475
Does anyone know how to /fix my computer, just dm me on this app and i'll show you what's wrong with it from there.
Answers: 2
You know the right answer?
When you borrow money to buy a house, a car, or for some other purpose, you repay the loan by making...

Questions in other subjects:

Konu
English, 20.09.2020 18:01