Compile the program by
gcc -Wall tree.c
Your assignment for this lab will consist of writing 4 functions that are defined in the file tree.c.
If your function is correct then function a.outprintPostorder
will print a familiar poem.
If your function is correct then function a.outprintInorder
will print a familiar poem.
cat to display the tree.c, gcc
-Wall tree.c to show compilation and two runs of your program:
once with testPostorder and another run with testInorder. Circle the
poems you got for each run of your program. This script
must be submitted for grading.
countNodes and depth by hand using these
trees. These drawings and calculations must also be submitted for grading.
Enjoy,
Irene
Last updated on October 8, 1996.