Infosys interview question

Basic functional questions