PPT Slide
Tower of Hanoi Program Example
(print '(Enter number of disks) )
(Transfer '1 '3 '2 disks) )
(defun MoveDisk (Frompin Topin)
(print (list Frompin '--> Topin) )
(defun Transfer (Frompin Topin Usingpin Height)
( (equal Height 1) (MoveDisk Frompin Topin ) )
( T (Transfer Frompin Usingpin Topin (1- Height) )
(MoveDisk Frompin Topin )
(Transfer Usingpin Topin Frompin (1- Height) )