· 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.
Don’t forget to comment your program and include the following:
* Date Submitted________
*/