I was wondering if someone could help me with a code that takes a number, counts it down with x steps and then up again with the same steps.
As an example:
10 7 4 1 -2 1 4 7 10
In this, every third integer is written, down and then up. It should be in recursive form, but I wouldn't mind to see it in interative form as well
This is totally wrong!