Infosys interview question

some program from online website