Course of Raku / 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
3628800
Solution
Next exercise
Course navigation
← Associative data types / Interpolating hashes | More about functions →
Translations of this page: English • Deutsch • Español • Italiano • Latviešu • Nederlands • Български • Русский • Українська