lama_byterun/regression/test009.lama

9 lines
96 B
Text
Raw Permalink Normal View History

var n = 2, k = 10;
(var res = 1;
while k > 0 do
res := res * n;
k := k - 1
od;
write(res))