View Single Post
Chapter 8, tower of hanoi puzzle
Old
protomonk
Guest
 
Status:
Posts: n/a
Default Chapter 8, tower of hanoi puzzle - 11-28-2005, 07:16 PM

i wrote this program and it work find, but couldn't see why it worked. i ask my teacher, and he couldn't see why it worked eather.


could some1 explain why after the first disk moves anyother disk move(it should just stop). i just need someone to walk to the logic but if my teach can't explain why this recursion is happen, then i deffently can't.

attached is the example, please look.
Attached Files
File Type: a2w chapter8.a2w (251.8 KB, 1588 views)
   
Reply With Quote