Towers of Hanoi: Difference between revisions
→{{header|Imp77}}: added tested output
(→{{header|Icon}} and {{header|Unicon}}: Creating example of newly-added language Imp77) |
(→{{header|Imp77}}: added tested output) |
||
Line 3,421:
%end %of %program
</syntaxhighlight>
{{out}}
<pre>
Move disk from 1 to 3
Move disk from 1 to 2
Move disk from 3 to 2
Move disk from 1 to 3
Move disk from 2 to 1
Move disk from 2 to 3
Move disk from 1 to 3
Move disk from 1 to 2
Move disk from 3 to 2
Move disk from 3 to 1
Move disk from 2 to 1
Move disk from 3 to 2
Move disk from 1 to 3
Move disk from 1 to 2
Move disk from 3 to 2
Towers of Hanoi puzzle completed!
</pre>
=={{header|Inform 7}}==
|