tidy up
This commit is contained in:
parent
6f4a835e54
commit
ef7dc3603d
5 changed files with 50 additions and 2 deletions
9
examples/fibonacci.lox
Normal file
9
examples/fibonacci.lox
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
var a = 0;
|
||||
var temp;
|
||||
|
||||
for (var b = 1; a < 10000; b = temp + b) {
|
||||
print a;
|
||||
temp = a;
|
||||
a = b;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue