Pr. Cogan Assignment #22

CIS 16, Fall 2001 Due Date:

 

 

 

        Assignment #22 combines Assignment #20 and #21.

        Make a .h and .c files for the recursive function. (compile with c)

        Make a .h and .c files for the structure function. (compile with c)

 

        Make a main.c file that includes both .h files. Also, your main function will call both functions.

 

        Remember the declaration of the structure type goes in the .h file. The declaration of the array is in the main.

 

        cc main.c _______.o ______.o

You may also use -o option.

 

 

 

 

 

 

 

 

Dont forget to comment your program and include the following:

/* Your Name

* Class and Section

* Assignment #_________

* Date Due_____________

* Date Submitted________

*/