CS
3100
Fall 2008
Mini Program 1
Due Monday, September 15
Driver for writeBackward
Assignment:
Write a driver program to test the recursive function
writeBackward on page 78 of our text.
Input:
The program reads a string from standard input.
Output:
The program writes the string backwards to standard output.
Testing:
You need
to create a test suite with good data and code coverage.
What To Turn In:
Here is the list of things you have to turn in:
- At the start of class on the due date, place the
following items on the "counter" in front of me:
- a hardcopy of your final version of the program source code,
and
- a hardcopy of your test script showing adequate testing of
your program. (Info
on making a script.)
Make sure that all of the code and script content shows on the paper.
Make sure all content is plainly readable and properly formatted.
- Upload to the homework
submission system before midnight on the due date:
Your source code and your test script. I will compile and test your
programs
on the suns in the lab.