Add fib21 test

This commit is contained in:
nazrin 2025-06-01 21:17:25 +00:00
parent f0ff14e5b5
commit 10cc5e6e89
2 changed files with 30 additions and 0 deletions

10
test/fib21.lox Normal file
View file

@ -0,0 +1,10 @@
var a = 0;
var temp;
for(var b = 1; a < 10000; b = temp + b){
print a;
temp = a;
a = b;
}