Course of Raku / Essentials / More about functions / Exercises
Factorial with multi-functions
Problem
Write a program that computes the factorial using multi-functions. Take the input number from the command line.
Example
The expected result is:
$ raku factorial-with-multi-functions.raku 5
120Solution
Course navigation
← Quiz 3 — Calling multi-functions | Solution: Factorial with multi-functions →
Translations of this page: English • Deutsch • Español • Italiano • Latviešu • Nederlands • Български • Русский • Українська