Functions in Julia
Functions are central in Julia. We’ll learn about functions with a few different examples.
To run the program, save it as functions.jl
and use the Julia REPL or command line:
There are several other features to Julia functions. One is multiple return values, which we’ll look at next.