Infosys interview question

Starting line of program