Trigent Software interview question

Program for recursion