Example code from Laboratory Session 7 (Recursivity)
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.
parser adapted from
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)
Solution for problem 16 (cubes) is given in cubes.zip.