If McDonalds were run like a software company, one out of every hundred Big Macs would give you food poisoning, and the response would be, ‘We’re sorry, here’s a coupon for two more.’ “ Mark Minasi
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