summaryrefslogtreecommitdiffstats
path: root/kturtle/data/timestables.logo
blob: 9c2cc3e7f77c1753daef1c37c1a6ef6ad26b1c61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
]