I think you have to look at the examples and consider what is the difference between the three examples: counting up, counting down, and staying the same. Then you look at the parameter to see the reason why they have different run. Each one has each condition for it to run like that. So that, you should use conditional statements. There will be three conditions in this problem.