Mobiversa Interview Question

recursion,switch case,basic aptitute for round 1