CS 1321 (Principles of Algorithm Design II):
Homework #1 Sample Solution
Sample solution code
Not available.
Testing
- Shell script containing tests:
hw01test.
(This script consists of multiple executions of the
program. Lines beginning with a "#" are comments.)
- Input files (tax rate tables):
taxRatesNone (empty file),
taxRatesFew,
taxRatesMany.
- Sample correct output:
hw01test.out
(showing echoed inputs too).
To perform these tests yourself, copy the input files to your
directory and either execute the shell script by typing
"sh hw01test" or type in the commands in the shell
script individually.
Your output may not be identical in format to the sample output
but should be similar.