Solution Review: Max with Nested Functions
Let’s go over the solution for the challenge: Max with Nested Functions.
Task
In this challenge, you had to create a nested function max
which would help its parent function mainMax
to compute the maximum of three numbers.
Solution
A skeleton of the mainMax
function was already provided for you. Let’s look it over.