Logo

Programming-Idioms

History of Idiom 31 > diff from v71 to v72

Edit summary for version 72 by programming-idioms.org:
Lead: better style

Version 71

2021-09-24, 09:20:07

Version 72

2021-09-24, 12:17:50

Idiom #31 Recursive factorial (simple)

Create recursive function f which returns the factorial of non-negative integer i, calculated from f(i-1)

Idiom #31 Recursive factorial (simple)

Create the recursive function f which returns the factorial of the non-negative integer i, calculated from f(i-1)

Variables
f,i
Variables
f,i