Tower of Hanoi using recursion
I have no idea about Tower of Hanoi . I want to write a program on this using recursion. Simone Carletti From Wikipedia : The Tower of Hanoi or Towers of Hanoi (also known as The Towers of Brahma) is a mathematical game or puzzle. It consists of three rods, and a number of disks of different sizes which can slide onto any rod. The puzzle starts with the disks neatly stacked in order of size on one rod, the smallest at the top, thus making a conical shape. Check out the recursive solution . Another homework assignment. Pass your teacher's A to me ;) Source: http://www.soc.napier.ac.uk/~andrew