Let's look at an example:
In the above example,
by using return, we can reuse the result
of the function calculateItemCost
to calculate the cost of each item.
And, then use the final cost by adding them up
and storing it in totalCost.
Returning values allows us to use the
same logic in different situations,
making our code more reusable.