Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
10
Task/Factorial/Relation/factorial.relation
Normal file
10
Task/Factorial/Relation/factorial.relation
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
function factorial (n)
|
||||
set result = 1
|
||||
if n > 1
|
||||
set k = 2
|
||||
while k <= n
|
||||
set result = result * k
|
||||
set k = k + 1
|
||||
end while
|
||||
end if
|
||||
end function
|
||||
Loading…
Add table
Add a link
Reference in a new issue