I have spent so much time trying to understand how to output my recursive solution to the tower of hanoi problem that I am now having a hard time seeing where I am going wrong.
I would like to output my result into a text file, instead of having this expected resulted in my text file as follows:
To me it looks like my code solution is not going through the whole recurtion but I don't know how to fix it.
If somebody could help me, I would really really appreciate it.
David Newton wrote:IMO the point is to help people learn how to learn, not give them answers on a plate.
That's our philosophy, too. I removed the solution, although it may be too late.
John Philippe
Greenhorn
Joined: Apr 06, 2009
Posts: 18
posted
0
Good evening,
I apologize in my slownest to respond but quite a lot happens in a day, and I like to study and try out what I am given before responding, and I'm really slow at that.
The code that Sridhar Gudipalli provided me with was extremely helpful, and I would like to thank him once again for I spent so much time on this trying to get it to work on my own and really truely couldn't; that's why when I get stuck like that I come and humbly ask the help of the people that knows.
I looked and spent a good amount of time through the code to make sure I understood it, once again thank you for your all's help.