Program

Published on November 2016 | Categories: Documents | Downloads: 33 | Comments: 0 | Views: 138
of 1
Download PDF   Embed   Report

Comments

Content

u hv saved $500 to use as a down payment on a car. b4 beginning ur car shopping, u decide to write a program to help u figure out what ur monthly payment will be, given the car's purchase, the monthly interest rate and the time period over which u will pay bek the loan. the formula for calculating ur payment is payment=ip/[1-(1+i),-n] where P=principle(the amount you borrow) i=monthly interest rate(1/2 of the annual rate) n=total number of payments ur program should prompt the user for the purchase price, the down payment, the annual interest rate and the total number of payments(usually 12,24, or 36).

it shud then display the amount borrowed and the amount payment including a dollar sign and 2 decimal places

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close