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

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:30
Dave has to create animations for a game. which tool can dave use?
Answers: 3
question
Computers and Technology, 22.06.2019 15:30
To increase sales, robert sends out a newsletter to his customers each month, letting them know about new products and ways in which to use them. in order to protect his customers' privacy, he uses this field when addressing his e-mail. attach bcc forward to
Answers: 2
question
Computers and Technology, 23.06.2019 04:10
2pointswho was mikhail gorbachev? oa. a russian leader who opposed a coupob. a polish leader who founded the labor union "solidarityoc. a soviet leader who called for a closer relationship with the unitedstates, economic reform, and a more open societyd. a soviet leader who called for more oppression in the soviet union
Answers: 3
question
Computers and Technology, 23.06.2019 07:30
What part of the interface displays the external references contained in a selected cell? the status bar the review tab the scroll bar the formula bar
Answers: 1
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
question
Social Studies, 29.09.2020 04:01
Questions on the website: 13722367