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, 21.06.2019 23:00
In a file-oriented information system, a work file stores relatively permanent data about an entity is created and saved for backup and recovery purposes stores records that contain day-to-day business and operational data is a temporary file created by an information system for a single task
Answers: 1
question
Computers and Technology, 22.06.2019 17:00
Match the following. 1. show grouping of word processing tasks that can be performed quick access toolbar 2. shortcut location for commonly used elements scroll bars 3. organized commands used to modify documents ribbon 4. used to align and measure content in a word screen zoom bar 5. vertical and horizontal bars that are used to navigate through a document contextual tabs 6. displays the name of the document in use ruler 7. allows users to enlarge or shrink a visual of a word document title bar
Answers: 2
question
Computers and Technology, 23.06.2019 03:10
Acomputer has a two-level cache. suppose that 60% of the memory references hit on the first level cache, 35% hit on the second level, and 5% miss. the access times are 5 nsec, 15 nsec, and 60 nsec, respectively, where the times for the level 2 cache and memory start counting at the moment it is known that they are needed (e.g., a level 2 cache access does not even start until the level 1 cache miss occurs). what is the average access time?
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
The computers in the sales department did not have enough data storage capacity to contain all the information the department needed to store, and it was taking a long time for team members to access the data they needed. to fix the problem, the technician installed new, larger hard drives on all the computers.
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
Mathematics, 24.02.2022 14:00
question
Mathematics, 24.02.2022 14:00
Questions on the website: 13722363