Infosys Interview Question

Program where asked