CIS 71: Homework 9

Handed out: 10/24/2006
Due: by 10:00pm on 10/30/2006
Email program to TA

This assignment is identical to assignment 8. The difference is that now our program will consist of 3 files:

  1. lab9f06.h: it contains the prototypes of the functions we will use to solve the assignment. This file is given by me and it is here.
  2. lab9f06.c: it contains the definition of the functions contained in lab9f06.h. Much of this code was done in the lab last Thirsday.
  3. lab9f06driver.c: this contains the main program that will use the functions defined above to implement the assignment.
The program is compiled with the unix comand
	gcc -Wall -o lab9 lab9f06driver.c lab9f06.c
and run with
	lab9
Other ways to compile these files will be shown in the lab.

As a comment at the beginning of your program you should do a case analysis for this problem: problem statement, analysis, design, and testing.