A function can a value as an output.

One of the main benefits of using subprograms is code .