More computing sins are committed in the name of efficiency (without necessarily achieving it) than for any other single reason - including blind stupidity. W.A. Wulf
Tower Of Hanoi is a mathematical game which consists three rods. The rods has a number of disk with the different size which can slide onto any rod. The objective of the puzzle is to move the entire stack to another rod. It should follow
Write a program to implement Tower Of Hanoi which move the disks from source to destination using the stack.
Enter number of discs: 3 A -> C A -> B C -> B A -> C B -> A B -> C A -> C