April 11
Examples from April 11
Today we did some examples of recursion:
Factorial.java and SimpleInput.java: This implements the factorial function.
PrintList.java: This has a recursive funciton that prints a list.
Hanoi.java: This solves the Towers of Hanoi puzzle.