CS1044

Virginia Tech Computer Science Department
Tom Plunkett
thplunk2@vt.edu

Team Assignment #2: Modify an Existing Software Program

Existing Software Program: Alternative BankAccount Class Implementation

Textbook P.342, Display 6.7

Requirements

Overview: Instead of having hard-coded inputs and sending the output to the screen, we want to read from an input file and print to a separate output file for each account.

1) One input file, daily.dat

Jones 100 2.3

Miller

Franklin 999 99 5.5

2) The name of the output files is the first word in each line of the input file (i.e. Jones, Miller, Franklin, etc.)

3)Each output file should contain Account Balance and Interest Rate

4) Identify all functions that need to be modified and the modifications that need to be made. If new functions need to be written, then specify the parameters, the definition, etc.

Software Code