Project on GENERATING
AN AMORTIZATION SCHEDULE OF PAYMENTS

Course: CSE 103
Project Number: 2
NSD Due Date: none (see NSD)
Project Due Date: (see the calendar on Angel)
Project Filename a:mortgage.bpr
Program Filename: a:mortgage.cpp
Output Filename: a:mortgage.txt
Project Objective: To attempt modularization and utilize the repetitive contruct.
Problem:
  1. Given the principal P , annual interest rate R in percent form, and term of the loan T in years, write a modularized C++ program that will calculate the monthly mortgage payment MP according to

    MP = (( P * i ) / ( 1 – 1 / ( 1 + i ) t ))

    where i is the monthly interest rate and t is the term of the loan in months

  2. Generate an amortization schedule of payments.
  3. Determine the total cost of the mortgage.
  4. Determine the interest paid.
Input: Enter the following data interactively:
  1. P = $65,000.00
    R = 9.25%
    T = 12 years


  2. P = $20,000.00
    R = 8.75%
    T = 5 years
Output: Have a summary page containing the following information centered on the page:
  • the amount of the principal P
  • the annual interest rate R
  • the term of the loan in years T
  • the monthly payment MP
  • the total amount of interest paid
  • the total cost of the loan
Starting on a new page, generate a tabularized amortization schedule of payment complete with heading.
Reminder: Follow General Instructions for Programming and the Basic Formatting Guidelines.

© 1998-08-31 cpsm ; last update 2005-10-03