[Solved] SOLVED: mortgage

30 $

File Name: SOLVED:_mortgage.zip
File Size: 150.72 KB

SKU: [Solved] SOLVED: mortgage Category: Tag:

Or Upload Your Assignment Here:


This program will allow the user to enter the principal amount that they’re borrowing,the interest rate, and the length in years. Then, it will print a mortgage loan payoff table.Algorithm:1) Input principal (the amount borrowed)2) Input interest (the interest rate annually)3) Input lengthYears (the number of years of the loan)4) Calculate the monthlyPayment using the formula provided belowmonthlyPayment = principal * (decimalInterest / (1 – (1 + decimalInterest)^(-lengthMonths)))5) Compute the monthlyInterest by multiplying principal by the decimalInterest6) Compute the monthlyPrincipal by taking monthlyPayment and subtract monthlyInterest7) Compute the newBalance by taking the principal and subtract monthlyPrincipal8) Make the newBalance become the principal9) Loop step 5 through 8 until principal is 010) Prompt the user if they want to repeat back to step 1, so nested loop11) If they press Y, clear the screen and go back to step 1. If they press N, exit the loop.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] SOLVED: mortgage
30 $