Infosys Interview Question

Write a code for Recursion?