complexpr/examples/fib.cxpr

10 lines
108 B
Plaintext

let x = 0;
let y = 0;
let z = 1;
while z < 1000000 {
x = y + z;
z = y;
y = x;
println(z);
}