lama_byterun/lama-compiler/regression/test021.lama

10 lines
No EOL
87 B
Text

var n, f = 1;
n := read ();
for skip, n >= 1, n := n-1
do
f := f * n
od;
write (f)