reorganize examples
This commit is contained in:
12
examples/fib.script
Normal file
12
examples/fib.script
Normal file
@@ -0,0 +1,12 @@
|
||||
x := 1
|
||||
y := 1
|
||||
|
||||
i := 60
|
||||
|
||||
while i {
|
||||
z := x + y
|
||||
y = x
|
||||
x = z
|
||||
print(z)
|
||||
i = i - 1
|
||||
}
|
||||
Reference in New Issue
Block a user