diff options
Diffstat (limited to 'kturtle/data/timestables.logo')
-rw-r--r-- | kturtle/data/timestables.logo | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/kturtle/data/timestables.logo b/kturtle/data/timestables.logo new file mode 100644 index 00000000..9c2cc3e7 --- /dev/null +++ b/kturtle/data/timestables.logo @@ -0,0 +1,15 @@ +# print times-tables + +reset +canvassize 300,250 +hide +penup +go 10, 0 + +n = inputwindow "Enter the number for which i'll print the times-table" + +for x = 0 to 10 [ + backward 20 + r = x * n + print x," * ",n," = ",r +] |