**Example code from Laboratory
Session 7
(Recursivity)**

- L7Ex1.c and project showing recursion levels
- L7Ex2.c
- L7Ex3.c A Codeblocks zipped project with this example
showing recursion levels is
**here**

Example
solution for Problem
2 (Codeblocks project, zipped)– Hermite poly evaluation.

Example
solution for Problem
4 (Codeblocks project, zipped)– read *n*
words and print them in reverse order.

Example
recursive descent
parser adapted from

http://publications.gbdirect.co.uk/c_book/chapter4/recursion_and_argument_passing.html

is packed here

Example recursive power computation is recPower.c.
A
codeblocks project with two solutions is given in recPower.zip

Solution for Problem 8 (permutations)

Solution to Problem
9 (rod cutting)

An useful link for solving Problem
12.
A solution is given in partition.zip

Solution
for problem 16 (cubes) is given in cubes.zip.