Couldn't understand this SWIFT Fucntion : <p>Hope you are doing well. Would anyone please explain this code to me? I am still not getting how we got 120 here. When the parameters were passed to the function, where was it saved? How did it determine max and min before calculating? </p>

<p>Would be really appreciated if anyone could explain it for me please..</p>

<p><a href="https://i.stack.imgur.com/eGNB1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eGNB1.png" alt="Function"></a></p>
