Anonymous user
Towers of Hanoi: Difference between revisions
→{{header|Dart}}
Line 452:
String say(String from, String to) => "$from ---> $to";
hanoi(
if (height > 0) {
hanoi(height - 1, usePole, fromPole, toPole);
|
Line 452:
String say(String from, String to) => "$from ---> $to";
hanoi(
if (height > 0) {
hanoi(height - 1, usePole, fromPole, toPole);
|