With feedback player
You may execute this program with 'raku program
' or with 'raku program min max
'. Raku creates a usage for us if we don't give the right parameters. It also parses the parameters for us and provides them via $min
and $max
. We use multi-subs to provide two MAIN subroutines so the user is able to choose between min and max parameters and no parameters at all, in which case min is set to 0 and max to 100.
Last updated