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
120
```

## Solution

## Course navigation

← Creating and calling functions / Default values | Built-in functions for printing →