Function Parameters

    Consider the following function:

    Instead, convert the function to take an object: