DUE DATE: October 24, 2000, at 9:30 a.m. (in class)
due date postponed until October 26, at 9:30 a.m.
Objectives
1. Practice making classes
2. More practice with streams and files.
Introduction
Your assignment is given below. To solve it, write a program that reads the necessary information to compute and output the indicated values, as efficiently as possible. Following the pattern in the class example, first, design your program by specifying its behavior, identifying the objects and operations it needs to solve the problem, and then organizing the objects and operations into an algorithm. Then code your design in C++ using stepwise translation. Finally, test your program thoroughly.
Project
1. Solve problem #7 on page 430 of your book.
2. INPUT: Your program should obtain all input from the keyboard. Things
to input include loan amount, interest rate, starting month and year.
10/17/00 Notes from questions raised in class:
3. OUTPUT: Output should be sent to a file. It should include bill month and year, (i.e. "February 2001") followed by the amounts. Include appropriate labels on your output.
4. Name your source file 'hmwk3.cc' and store it in your Panther directory. Create your own library files as well, and give them appropriate names. In this program, you MUST create your own classes, therefore you must have your own library files.
5. Be sure to include the appropriate information as comments in the header of your source file, as specified in homework #1's directions. Also make sure you understand the collaboration policy, and that you follow the standards given in class. (See homework #1, sections 5, 6, and 7).
6. Submit your program to the T.A. Include comments stating how the program should be compiled and run.
TURN IN A HARD COPY OF YOUR SCRIPT FILE IN CLASS, after you have completed the steps below.
When you are finally done with your program, and are ready to submit it, do the following steps.