Question: ( C + + Programming ) The new loan amortization calculator will ask the user to: Enter the loan amount: Enter the annual interest rate:
C Programming
The new loan amortization calculator will ask the user to:
Enter the loan amount:
Enter the annual interest rate:
Enter the number of months to finance:
From this information you will create a loop that calculates and reports the following columns of data:
PaymentMonth Payment Amount Principal Paid Principal Remaining Interest this Period Total Interest Paid
StepbyStep Hints and Directions:
Step : Calculate the loan payment given the loan amount, number of months term and the interest rate.
#include math.h and program the following calculations:
Loan Payment Loan Amount Discount Factor or P A D
You need the following values:
Number of Periodic Payments n Payments per year times number of years
Periodic Interest Rate i Annual rate divided by number of payment periods
Discount Factor D ini in
Assume you borrow $ at percent for years, to be repaid monthly. What is the monthly payment?
n years times monthly payments per year
i percent annually expressed as divided by monthly payments per yearlearn how to convert percentages to decimal format
D
P A D
Step : Calculate the Interest this Period. Take the interest rate per month ex for its and multiply by the remaining principle of the loan. ex
Step : Your Principal Remaining is your beginning principal for the period reduced by the portion of your payment going to your principal. ex Payment is Interest of leaves going to reduce the principal, so in Principal Remaining
Step : Keep a running total of the interest paid throughout the loan.
Step : Put all of this in a loop and print each iteration to the screen. Now you have your very own loan amortization calculator.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
