Course of Raku / Essentials / Functions essentials / Creating and calling functions / Exercises
Recursive factorial
Problem
Create a program that uses recursion to compute the factorial of 10.
Example
$ raku recursive-factorial.raku
3628800Course of Raku / Essentials / Functions essentials / Creating and calling functions / Exercises
Create a program that uses recursion to compute the factorial of 10.
$ raku recursive-factorial.raku
3628800