Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   Chapter 8, tower of hanoi puzzle (http://www.alice.org/community/showthread.php?t=112)

protomonk 11-28-2005 07:16 PM

Chapter 8, tower of hanoi puzzle
 
1 Attachment(s)
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.


All times are GMT -5. The time now is 06:20 PM.

Copyright ©2019, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.