'Hello everyone i was wondering if you can help me with this program, the problem is that i have already calculated the amount of moves by using the recursion method but i need also to display were should the disks should be moved. Thank you' 'This is my code'
Function Hanoi(ByVal howmany As Long) As Long
If (howmany = 1) Then
Return 1
Else
Dim imovs As Long
imovs += Hanoi(howmany - 1)
imovs += Hanoi(1)
imovs += Hanoi(howmany - 1)
Return imovs
End If