yazdmich

Untitled

Jan 8th, 2016
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. function factorial (n: int) : real
  2. if n = 0 then
  3. result 1
  4. else
  5. result n * factorial (n - 1)
  6. end if
  7. end factorial
Advertisement
Add Comment
Please, Sign In to add comment