 Hey guys, right now I'm going over the functions lab one question five So this one is pertaining to nested function calls to kind of get us used to What a function a nested function call looks like and kind of what's happening? So we're given this function bar. It takes two inputs Both of them are integers And then it goes in and it's got this if statement returning whatever is the smaller value to us So this is very similar to what we did before in the tutorial And then an integer is going to be returned to us. So now we're going to try and figure out What the output is going to be when this program is executed? So we'll start up here in setup. We come down to this print line So we know something's going to be printed and we know We're going to call bar our function bar and it's going to take in three and five So this one's pretty easy. We know that it's going to output Three because three is the smaller number out of three and five So now we come down to this next one and we Call bar and then we have a couple different calculations in here. So sometimes it helps me when or to Write out what's going to happen and kind of try and condense it a bit to make it a bit more understandable So, you know that we're going to call bar and then we're going to have Our two inputs will be four times three, which will be 12 and then five plus three, which will be eight So we're going to call bar our function bar with 12 and eight And we know that eight is the smaller number So it's going to output eight So now here's where it gets a little bit more tricky is we've got all these nested calls So we're calling bar and with bar. We're going to call bar again For the first input and then call bar for a last time for the second input So we actually start with this inner these two inner bars because as we know We need to start with what's most inside the parentheses. So we're going to start with these two inputs. So first We know that bar of Eight and five is going to give us the smaller value of five And then when we call bar four and nine, it'll give us the smaller value of four So now we call this outer bar here with our new inputs that we just Figured out with bar five and four So we know that from this it's going to output four And we can check all of these things by just running it So we got our first value three our second value eight and our last value four So just make sure when you're doing nested function calls that you start with the innermost Function call and then from there you kind of work your way out So hopefully this helped