
Lesson 3-7: Case Study Maintenance
Numeric Types, Expressions, and Output | 63
Name __________________________________________ Date _______________________
Section _________________________________________
Exercise 1: Compile and run program Mortgage (mortgage.cpp).
Exercise 2: The loan amount, interest rate, and duration of the mortgage are set as constants. Run
the program using the following values for the loan amount, interest rate, and duration. Record the
monthly payments. Note that this problem requires you to alter the constants and compile and run
the program four times, recording the payment each time.
LOAN_AMOUNT YEARLY_INTEREST NUMBER_OF_YEARS ...