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, 23.06.2019 14:00
Need ! will choose brainliest! discuss the role of abstraction in the history of computer software.
Answers: 1
question
Computers and Technology, 24.06.2019 01:00
Verify each identity[tex] \frac{csc}{cot \: x \: + \: tan \: x} = cos \: x[/tex]
Answers: 1
question
Computers and Technology, 24.06.2019 11:00
These statements describe lists in presentation programs: a. bullets can be turned off and on. b. bullets cannot be turned off. c. bullet styles, colors, and sizes can be changed. d. lists don't have to use bullets or numbers. e. numbering styles, colors, and sizes can be changed. f. numbers can be turned off and on. g. numbers cannot be turned off. select all that apply
Answers: 2
question
Computers and Technology, 24.06.2019 16:50
7.23 main lab 7 - online shopping cart background this main lab extends the earlier prep lab "online shopping cart part 1". (you should save this as a separate project from the earlier prep lab). you will create an on-line shopping cart like you might use for your on-line purchases. the goal is to become comfortable with setting up classes and using objects. requirements this lab can be done individually or as pair programming. expanded itemtopurchase class (15 points) extend the itemtopurchase class as follows. we will not do unit testing in this lab so we will not be giving you the names of the member functions. create good ones on your own. create a parameterized constructor to assign item name, item description, item price, and item quantity (default values of "none" for name and description, and 0 for price and quantity). additional public member functions set an item description get an item description print the cost of an item - outputs the item name followed by the quantity, price, and subtotal (see example) print the description of an item - outputs the item name and description (see example) additional private data members a string for the description of the item. example output of the function which prints the cost of an item: bottled water 10 @ $1.50 = $15.00 example output of the function which prints the item description:
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
Advanced Placement (AP), 26.02.2020 17:53