You will get much better help if you tell us if it's homework and you have a go at a solution yourself.
Generally, we Monks prefer it if you ask specific questions, rather than "How do I do it. I haven't got a clue".
In reply to Re^3: Recursion problem
by FunkyMonk
in thread Recursion problem
by someone202
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |