Towers of Hanoi: Difference between revisions

Content added Content deleted
(Added Dyalect programming language)
Line 1,181: Line 1,181:
move(stdout, 4, def left {}, def right {}, def middle {})</lang>
move(stdout, 4, def left {}, def right {}, def middle {})</lang>


=={{header|Easyprog.online}}==
=={{header|EasyLang}}==


<lang easyprog.online>func hanoi n src dst aux . .
<lang>func hanoi n src dst aux . .
if n >= 1
if n >= 1
call hanoi n - 1 src aux dst
call hanoi n - 1 src aux dst