Function Chaining

Function Chaining

Create 5 different functions. Each function should print to the console something funny, and then call the next function.

Each function should also have 1 parameter. This parameter will be called iteration. Every time you get to the 5th function you should increase the iteration by one, and then pass that back into the first function.

Again, when you get to the last function, it should call the first function and start over. See what happens!