Mortage Calculator
Assigned: Weds Feb 19, 2003 Program #5 is worth 75 points Program due: Weds Feb 26, 2003
ConceptsIn this program you will use the following "new" concepts:
|
DescriptionImplement the Mortgage calculator described in Programming Challenge 7.8 on page 488 of our text. Here's an example session:
|
ImplementationYour implementation of the Mortgage Calculator must define a new class. I called mine Mortgage, and I will use that as a reference point in the notes below. The Mortgage class must have:
Your main() must create an object that is an instance of this class. This object is used to generate reports regarding the loan. Your program must have 3 files:
You must include Mortgage.h in prog05.cpp, like this:
You must also include Mortgage.h in Mortgage.cpp. Just like prog05.cpp, Mortgage.cpp has to include any other that it references (iostream, string, cmath, etc.). Also, these files must all be part of your Visual C++ project. You can add a file to your project using the menu choice Project/Add To Project/Files. We will also do/discuss this in lab. This is introduced at page 445 in our text, in developing the Rectangle class. Check it out.
|
GradingYour program will be graded on three areas: design, quality, and function Design (20%) Your design must include detailed pseudo-code describing how your program will function. Please use the Pseudo-Code Quick Reference as a guide. Quality (20%) Your code should be well-commented, properly indented and structured, and contain informative and consistent names. Function (60%) Your program must implement the program features per the description above. Place any comments you have in your README file.
|
NotesTest cases will be detailed (shortly) in README.txt in the prog05 folder.
|