From 7112db6419cb35af15e8b01bd87e02e639e1faa3 Mon Sep 17 00:00:00 2001 From: Sai Nishanth Vaka Date: Mon, 4 Apr 2022 18:06:56 -0700 Subject: [PATCH] Tower of hanoi sample code --- data/tower-of-hanoi.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/data/tower-of-hanoi.md b/data/tower-of-hanoi.md index e69de29..fb64d6e 100644 --- a/data/tower-of-hanoi.md +++ b/data/tower-of-hanoi.md @@ -0,0 +1,10 @@ +tower-of-hanoi disks with source with target with medium +if disks is-greater-than 0 +disks1 equals substraction of disks with 1 +tower-of-hanoi of disks1 with source with medium with target +show-value-of "Move disk " with disks with " from rod " with source with " with rod " with target +tower-of-hanoi of disks1 with medium with target with source +move-on + +fyi what to return no answer is expected +fyi show-value-of multiple checks get confirmationx \ No newline at end of file -- knotmirror 0.0.1